Renci.SshNet.ScpClient
Provides SCP client functionality.
Gets or sets the size of the buffer.
Gets or sets the operation timeout.
Gets or sets the transformation to apply to remote paths.
Gets or sets a value indicating whether the "-d" flag should be passed to the scp process on the server
when uploading files. Defaults to true.
Occurs when downloading file.
Occurs when uploading file.
Initializes a new instance of the ScpClient class.
public ScpClient(string host, int port, string username, string password, IRemotePathTransformation remotePathTransformation)
Initializes a new instance of the ScpClient class.
public ScpClient(string host, string username, string password, IRemotePathTransformation remotePathTransformation)
Initializes a new instance of the ScpClient class.
public ScpClient(string host, int port, string username, IRemotePathTransformation remotePathTransformation, IPrivateKeySource[] keyFiles)
Initializes a new instance of the ScpClient class.
public ScpClient(string host, string username, IRemotePathTransformation remotePathTransformation, IPrivateKeySource[] keyFiles)
Initializes a new instance of the ScpClient class.
Downloads the specified file from the remote host to local file.
Downloads the specified directory from the remote host to local directory.
Downloads the specified file from the remote host to the stream.
Uploads the specified stream to the remote host.
Uploads the specified file to the remote host.
Uploads the specified directory to the remote host.