spmjs / node-scp2

[MAINTAINER WANTED] A pure javascript scp program based on ssh2.
385 stars 96 forks source link

Added error callback to download prototype #34

Closed KSoto closed 9 years ago

KSoto commented 9 years ago

Fixing this issue: https://github.com/spmjs/node-scp2/issues/18

If there is an error in the download function, it would break when trying to use "sftp". This fixes that.

zzo commented 9 years ago

+1 please merge

surajx commented 9 years ago

@lepture Please merge.

lepture commented 9 years ago

merged in https://github.com/spmjs/node-scp2/commit/f9667abd9d25e2e62c8e2983e4a5774358291f85

zzo commented 9 years ago

thanks!