SSH Factory for .NET

Scp.Download Method (Stream, String, String)

Downloads file from SSH server and writes to specified output stream.

public void Download(
   Stream output,
   string remoteDir,
   string remoteFile
);

Parameters

output
stream to writing file to
remoteDir
remote directory path with ending path separator (i.e "/user/home/") or empty line for current directory
remoteFile
the remote file to download

See Also

Scp Class | Jscape.Scp Namespace | Scp.Download Overload List