jsftp
jsftp copied to clipboard
Fixed forced paused flowMode issue.
By using the readable event the paused flowMode is forced upon the stream, even though the use of pipe() later on. By explicitly calling stream.read() on the readable event the pipe will function normally.
This will fix issues #284
Hi
Have just tested this PR with Node.js 10.2 and it does fix the issue.
Hoping this can get merged eventually.
All the best, Liam Barry
It works in Node.js 11.12.0 too 😄