How would I download a folder and its contents from the server? Following the documentation, which only shows reading individual files, I am able to download a file but not the other contents of the same folder.
function sftpRead() {
return gulpSSH.sftp('read', '/home1/sixfacto/public_html/sambadusoleil')
.pipe(dest('logs'))
}
Is gulp-ssh capable of downloading folders from the server? I suspect I would have to use "gulpSSH.exec". But I don't know how. Any suggestions? Thanks.
How would I download a folder and its contents from the server? Following the documentation, which only shows reading individual files, I am able to download a file but not the other contents of the same folder.
This works:
But not this:
nor this:
Is gulp-ssh capable of downloading folders from the server? I suspect I would have to use "gulpSSH.exec". But I don't know how. Any suggestions? Thanks.