Downloads the specified file from the remote host to the stream.
Namespace: Renci.SshNetAssembly: Renci.SshNet (in Renci.SshNet.dll) Version: 0.1.0.0 (1.0.0.0)
Syntax
Parameters
- filename
- Type:
System String
Remote host file name.
- destination
- Type:
System.IO Stream
The stream where to download remote file.
Exceptions
| Exception | Condition |
|---|---|
| filename is null or contains whitespace characters. | |
| destination is null. |
Remarks
See Also