Scp |
public class ScpClient : BaseClient
The ScpClient type exposes the following members.
| Name | Description | |
|---|---|---|
| ScpClient(ConnectionInfo) | Initializes a new instance of the SftpClient class. | |
| ScpClient(String, String, PrivateKeyFile) | Initializes a new instance of the SftpClient class. | |
| ScpClient(String, String, String) | Initializes a new instance of the SftpClient class. | |
| ScpClient(String, Int32, String, PrivateKeyFile) | Initializes a new instance of the SftpClient class. | |
| ScpClient(String, Int32, String, String) | Initializes a new instance of the SftpClient class. |
| Name | Description | |
|---|---|---|
| BufferSize | Gets or sets the size of the buffer. | |
| IsConnected |
Gets a value indicating whether this client is connected to the server.
(Inherited from BaseClient) | |
| KeepAliveInterval |
Gets or sets the keep alive interval in seconds.
(Inherited from BaseClient) | |
| OperationTimeout | Gets or sets the operation timeout. |
| Name | Description | |
|---|---|---|
| Connect |
Connects client to the server.
(Inherited from BaseClient) | |
| Disconnect |
Disconnects client from the server.
(Inherited from BaseClient) | |
| Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged ResourceMessages.
(Inherited from BaseClient) | |
| Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources
(Overrides BaseClientDispose(Boolean)) | |
| Download(String, DirectoryInfo) | Downloads the specified directory from the remote host to local directory. | |
| Download(String, FileInfo) | Downloads the specified file from the remote host to local file. | |
| Download(String, Stream) | Downloads the specified file from the remote host to the stream. | |
| Download(String, Stream, Boolean) | Downloads the specified file from the remote host to the stream. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize |
Releases unmanaged resources and performs other cleanup operations before the
BaseClient is reclaimed by garbage collection.
(Inherited from BaseClient) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| OnConnected |
Called when client is connected to the server.
(Inherited from BaseClient) | |
| OnConnecting |
Called when client is connecting to the server.
(Inherited from BaseClient) | |
| OnDisconnected |
Called when client is disconnected from the server.
(Inherited from BaseClient) | |
| OnDisconnecting |
Called when client is disconnecting from the server.
(Inherited from BaseClient) | |
| SendKeepAlive |
Sends keep-alive message to the server.
(Inherited from BaseClient) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| Upload(DirectoryInfo, String) | Uploads the specified directory to the remote host. | |
| Upload(FileInfo, String) | Uploads the specified file to the remote host. | |
| Upload(Stream, String) | Uploads the specified stream to the remote host. | |
| Upload(Stream, String, Boolean) | Uploads the specified stream to the remote host. |
| Name | Description | |
|---|---|---|
| Downloading | Occurs when downloading file. | |
| ErrorOccurred |
Occurs when an error occurred.
(Inherited from BaseClient) | |
| HostKeyReceived |
Occurs when host key received.
(Inherited from BaseClient) | |
| Uploading | Occurs when uploading file. |