Downloads the specified file to the output stream.
Namespace: Jscape.SftpAssembly: Jscape.Ssh (in Jscape.Ssh.dll) Version: 2.7.2.0
Syntax
C# |
---|
public void Download( Stream stream, string pathname ) |
Visual Basic |
---|
Public Sub Download ( _ stream As Stream, _ pathname As String _ ) |
Visual C++ |
---|
public: void Download( Stream^ stream, String^ pathname ) |
Parameters
- stream
- Type: System.IO..::..Stream
the output stream
- pathname
- Type: System..::..String
the remote pathname
Exceptions
Exception | Condition |
---|---|
Jscape.Sftp..::..SftpException | if an error occurs |