donwload a directory from server code example Example: download folder ssh command line other ssh scp -r username@remote:/path/to/folder /dest/local/path