remote-ftp icon indicating copy to clipboard operation
remote-ftp copied to clipboard

Error: read ECONNRESET

Open sumantaparida opened this issue 9 years ago • 4 comments

Remote FTP: Connection failed Error: read ECONNRESET

sumantaparida avatar Apr 12 '17 18:04 sumantaparida

I'm not getting it to work at all on 1.16

newelement avatar Apr 13 '17 17:04 newelement

fix: go to .atom\packages\Remote-FTP\node_modules\ftp\lib\connection.js on line 106 change socket.setKeepAlive(true); -> socket.setKeepAlive(false);

and

go to .atom\packages\Remote-FTP\lib\connectors\ftp.js comment line 48 self.ftp._socket.setKeepAlive(self.info.keepalive > 0);

Can't find the sources for those fixes, but I had noted them just in case ;)

dquartino avatar Jun 20 '17 13:06 dquartino

Try this: Set keepalive value 0 in .ftpconfig

icetee avatar Jun 20 '17 14:06 icetee

go to .atom\packages\Remote-FTP\node_modules\ftp\lib\connection.js on line 106 change socket.setKeepAlive(true); to socket.setKeepAlive(false);

on .ftpconfig change "keepalive": 1000, to "keepalive": false,

levanigongadze avatar Jul 10 '17 11:07 levanigongadze