SSH Factory for .NET

Scp.Download Method (String, String)

Downloads the file from SSH server.

public FileInfo Download(
   string remoteDir,
   string remoteFile
);

Parameters

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

Return Value

the file downloaded

See Also

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