Downloading a directory |
You can download an entire directory using the Sftp.DownloadDir method passing in a remote directory name as the argument. Directory to download is relative to your current remote directory.
Example
[C#]
// download remote directory named ftps
sftp.DownloadDir("ftps");
[VB]
' download remote directory named ftps
sftp.DownloadDir("ftps")
See also