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