FTP PUT seems to randomly exit the program
Opened this issue · 1 comments
Christilut commented
I've been getting random upload failures and I can't figure out why.
You can run the repro and it will upload 10 files but it almost always fails somewhere without an error. I can't figure out what's going on. I tried it with multiple FTP servers.
There's no error and I can't even retry the operation since it seems that the node process just exits for some unknown reason.
Maybe someone can reproduce this? I also tried it with this public FTP server and getting the same failures.
Using Node v8.15.0
Repro: https://github.com/Christilut/promise-ftp-bug
Just npm install
and add FTP server credentials in the code and run it: node index.js
.
Christilut commented
I switched to basic-ftp
which seems to work reliably.