Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uploads empty file on server and crashes when getting it #63

Closed
ulpian opened this issue Oct 20, 2013 · 4 comments
Closed

uploads empty file on server and crashes when getting it #63

ulpian opened this issue Oct 20, 2013 · 4 comments

Comments

@ulpian
Copy link

ulpian commented Oct 20, 2013

when uploading files, either by buffer or local file path, I check the file on the server and see that it is empty and accessible as root (I log in with username/password credentials of a normal user).

After waiting for getting files it crashes with this message;

events.js:72
throw er; // Unhandled 'error' event
^
Error: connect ETIMEDOUT
at errnoException (net.js:901:11)
at Object.afterConnect as oncomplete

@mattcodez
Copy link

This sounds similar to my current issue. I'm using jsftp via grunt-ftp-push. I've tested my code and everything works great on a local test FTP server. Switching to a remote FTP server however, it says it authenticates successfully but fails on the first file transfer. No explanation. I then view the file through an FTP client and it is 0 bytes. After about 2 minutes, jsftp ends the program with "Fatal error: 426 Connection closed; transfer aborted.". I looked at the FTP server log files but they indicate no errors.

@mattcodez
Copy link

OK, so grunt-ftp-push is currently using jsftp 1.1.0. I manually updated it to 1.2.1 and now the transfers are working.

@mattcodez
Copy link

OK, back again. I'm still having trouble even with the new 1.2.1 installed. I have intermittent but regular FTP issues with GUI FTP clients, however they retry the transfer and all is well. JSFTP perhaps just doesn't gracefully repair problem connections like other clients.

@ulpian
Copy link
Author

ulpian commented Dec 8, 2013

I tried again and seems to be working for me currently but still not stable.

@ulpian ulpian closed this as completed Dec 8, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants