node-ftp
node-ftp copied to clipboard
How to prevent connection from closing?
I'm using your library for load and parse csv files from ftp. But i have trouble with closing connection after some period of time. How i can keep connection all the time, untill readableStream not fully consumed? Or can i auto reconnect somehow? And can i resume stream after reconnect? @mscdex;
Have you tried setting the "keepalive" parameter? I set mine to an extremely long time, like 10000. That seemed to solve my issue.