SSH Factory for .NET

Scp.DownloadDir Method 

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

public void DownloadDir(
   string remoteDir,
   string name
);

Parameters

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

See Also

Scp Class | Jscape.Scp Namespace