teambition / gulp-ssh

SSH and SFTP tasks for gulp
184 stars 38 forks source link

sftp read/write all files in folder #9

Closed dennisbaum closed 9 years ago

dennisbaum commented 9 years ago

is it possible to read all files in a folder, or better read/copy a folder recursive with all subfolder/subfiles via sftp? i tried different *-combination or {recursive:true} as options, but that did not work. btw: which options are available by the sftp-api (command, filePath, options)? Tnx.

zensh commented 9 years ago

I suggest you using gulp-rsync to upload a folder. sftp-api can only read or write one file.

dennisbaum commented 9 years ago

i will, thanks for clarification

zensh commented 9 years ago

Hi, 0.5.0 released, add 'dest' that write files to remote

thebuilder commented 9 years ago

Cool, the new dest works great! :+1: