<PackageReference Include="SSH.NET" Version="2026.0.0" />

Renci.SshNet.ScpClient

public class ScpClient : BaseClient
public uint BufferSize { get; set; }

public TimeSpan OperationTimeout { get; set; }

public bool UseDirectoryFlag { get; set; }

public ScpClient(ConnectionInfo connectionInfo, IRemotePathTransformation remotePathTransformation)

public ScpClient(string host, int port, string username, string password, IRemotePathTransformation remotePathTransformation)

public ScpClient(string host, string username, string password, IRemotePathTransformation remotePathTransformation)

public ScpClient(string host, int port, string username, IRemotePathTransformation remotePathTransformation, IPrivateKeySource[] keyFiles)

public ScpClient(string host, string username, IRemotePathTransformation remotePathTransformation, IPrivateKeySource[] keyFiles)

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, IPrivateKeySource[] keyFiles)

public ScpClient(string host, string username, IPrivateKeySource[] keyFiles)

public void Download(string filename, FileInfo fileInfo)

public void Download(string directoryName, DirectoryInfo directoryInfo)

public void Download(string filename, Stream destination)

public void Upload(Stream source, string path)

public void Upload(FileInfo fileInfo, string path)

public void Upload(DirectoryInfo directoryInfo, string path)