Downloads remote directory and contents recursively from SSH server. Downloads are stored relative to current local directory.

Namespace: Jscape.Scp
Assembly: Jscape.Ssh (in Jscape.Ssh.dll) Version: 2.7.2.0

Syntax

C#
public void DownloadDir(
	string remoteDir,
	string name
)
Visual Basic
Public Sub DownloadDir ( _
	remoteDir As String, _
	name As String _
)
Visual C++
public:
void DownloadDir(
	String^ remoteDir, 
	String^ name
)

Parameters

remoteDir
Type: System..::..String
remote directory path with ending path separator (i.e "/user/home/") or empty line for current directory
name
Type: System..::..String
directory name

See Also