teambition / gulp-ssh

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

Added 'progress' event support for sftp file writing. #16

Closed 0xorial closed 9 years ago

0xorial commented 9 years ago

Connected to my pull request here: https://github.com/mscdex/ssh2-streams/pull/12

zensh commented 9 years ago

As @mscdex 's opinion, it dose not make sense.

0xorial commented 9 years ago

Is there a reason why gulp-ssh does not use fast{get/put} from ssh2? (Which are allegedly faster and have progress reporting)

zensh commented 9 years ago

This plugin should refactor with ssh2-streams, I will do it this weekend.

mscdex commented 9 years ago

Just to clear up any confusion, ssh2-streams is not something that most users will want to use directly, as it operates at a very low level. Using sftp.fastGet()/sftp.fastPut() from the ssh2 module is possible without using ssh2-streams explicitly.

zensh commented 9 years ago

@mscdex Thank you for your suggestion.