Uploads the specified directory to the remote host.
Namespace: Renci.SshNetAssembly: Renci.SshNet (in Renci.SshNet.dll) Version: 0.1.0.0 (1.0.0.0)
Syntax
public void Upload( DirectoryInfo directoryInfo, string filename )
Parameters
- directoryInfo
- Type:
System.IO DirectoryInfo
Local directory to upload.
- filename
- Type:
System String
Remote host directory name.
Exceptions
| Exception | Condition |
|---|---|
| directoryInfo or filename is null. |
See Also