spmjs / node-scp2

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

Can't download large files #14

Closed ericuldall closed 9 years ago

ericuldall commented 9 years ago

Tried downloading a 30,000 row csv file and it only gave me the first 423 rows. I like the way it's supposed to function, but it's obviously not useful if it's returning partial files. Not seeing any errors even.

17 Oct 17:43:43 - connected 17 Oct 17:43:43 - ready 17 Oct 17:43:44 - read /tmp/xxxxxx.csv 17 Oct 17:43:44 - scp success

Hope you get it fixed, i'd love to use this module.

mark-hahn commented 9 years ago

I just had a possibly related problem. I downloaded a 500 MB video file and everything after the first 128 bytes was empty (zeros).

surajx commented 9 years ago

This was fixed in #7, test with the code from guihub if you're using npm install. @lepture If everything is up to mark could we have the latest source updated on npm?

lepture commented 9 years ago

@surajx thanks for your notification. A 0.2.0 was published right now.