lukasz-wronski / vscode-ftp-sync

Ftp Sync plugin for Visual Studio Code
https://marketplace.visualstudio.com/items/lukasz-wronski.ftp-sync
322 stars 83 forks source link

Ftp-sync: Uploading index.html failed: Error: read ECONNRESET #197

Open biswajitpaul01 opened 7 years ago

biswajitpaul01 commented 7 years ago

File upload not working on this server. I also changed code from https://github.com/lukasz-wronski/vscode-ftp-sync/issues/24#issuecomment-300326550. But nothing helps. Please note, FTP-Sync works perfectly on Sublime Text 3 using same FTP settings.

Below is my debug result:

[sync-helper] uploadFile [sync-helper] connect [connection] < '220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------\r\n220-You are user number 6 of 500 allowed.\r\n220-Local time is now 01:28. Server port: 21.\r\n220-This is a private system - No anonymous login\r\n220 You will be disconnected after 15 minutes of inactivity.\r\n' [parser] < '220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------\r\n220-You are user number 6 of 500 allowed.\r\n220-Local time is now 01:28. Server port: 21.\r\n220-This is a private system - No anonymous login\r\n220 You will be disconnected after 15 minutes of inactivity.\r\n' [parser] Response: code=220, buffer='--------- Welcome to Pure-FTPd [privsep] [TLS] ----------\r\nYou are user number 6 of 500 allowed.\r\nLocal time is now 01:28. Server port: 21.\r\nThis is a private system - No anonymous login\r\nYou will be disconnected after 15 minutes of inactivity.' [connection] > 'USER biswa****' [connection] < '331 User biswa**** OK. Password required\r\n' [parser] < '331 User biswa**** OK. Password required\r\n' [parser] Response: code=331, buffer='User biswa**** OK. Password required' [connection] < '230-Your bandwidth usage is restricted\r\n230 OK. Current restricted directory is /\r\n' [parser] < '230-Your bandwidth usage is restricted\r\n230 OK. Current restricted directory is /\r\n' [parser] Response: code=230, buffer='Your bandwidth usage is restricted\r\nOK. Current restricted directory is /' [connection] > 'FEAT' [sync-helper] connClosed

meichthys commented 7 years ago

@biswajitpaul01 How many files are you trying to sync at once? There seems to be a known issue that limits the number of files that can be synced at once: see #85

immanuelchoir commented 6 years ago

I'm using Visual Studio Code. I have the same message when I use it at the library. But It's ok if I use with my cell-phone tethering. I don't know why but It may be different from internet connection ways. I hope you may get helped.