Downloading a directory |
You can download an entire directory using the Sftp#downloadDir method and a directory name. Directory to download is relative to your current remote directory. See Setting your remote directory for details.
Example
// download the images directory sftp.downloadDir("images"); |