Downloads the specified file from the remote host to local file.
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.
- fileInfo
- Type:
System.IO FileInfo
Local file information.
Exceptions
| Exception | Condition |
|---|---|
| fileInfo or filename is null. |
See Also