Renci.SshNet.ScpClient
Provides SCP client functionality.
namespace Renci.SshNet
{
public class ScpClient : BaseClient
{
public TimeSpan OperationTimeout { get; set; }
public uint BufferSize { get; set; }
public IRemotePathTransformation RemotePathTransformation { get; set; }
public event EventHandler<ScpDownloadEventArgs> Downloading;
public event EventHandler<ScpUploadEventArgs> Uploading;
public ScpClient(ConnectionInfo connectionInfo);
public ScpClient(string host, int port, string username, string password);
public ScpClient(string host, string username, string password);
public ScpClient(string host, int port, string username, params PrivateKeyFile[] keyFiles);
public ScpClient(string host, string username, params PrivateKeyFile[] keyFiles);
public void Upload(Stream source, string path);
public void Download(string filename, Stream destination);
}
}