Downloads file from SSH server and writes to specified output stream.
Namespace: Jscape.ScpAssembly: Jscape.Ssh (in Jscape.Ssh.dll) Version: 2.7.2.0
Syntax
C# |
---|
public void Download(
Stream output,
string remoteDir,
string remoteFile
) |
Visual Basic |
---|
Public Sub Download ( _
output As Stream, _
remoteDir As String, _
remoteFile As String _
) |
Visual C++ |
---|
public:
void Download(
Stream^ output,
String^ remoteDir,
String^ remoteFile
) |
Parameters
- output
- Type: System.IO..::..Stream
stream to writing file to
- remoteDir
- Type: System..::..String
remote directory path with ending path separator (i.e "/user/home/") or empty line for current directory
- remoteFile
- Type: System..::..String
the remote file to download
See Also