Uploads the specified file to the remote host.
Namespace: Renci.SshNetAssembly: Renci.SshNet (in Renci.SshNet.dll) Version: 0.1.0.0 (1.0.0.0)
Syntax
Parameters
- fileInfo
- Type:
System.IO FileInfo
Local file to upload.
- filename
- Type:
System String
Remote host file name.
Exceptions
| Exception | Condition |
|---|---|
| fileInfo or filename is null. |
See Also