spmjs / node-scp2

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

Fixed the issue with corrupt download when file Size more than ~65K. #7

Closed surajx closed 10 years ago

surajx commented 10 years ago

Using stfp.read() we'll have to manually refill the read buffer once the default buffer size of 64*1024 is read. Instead used streams.