-
Notifications
You must be signed in to change notification settings - Fork 245
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
get stuck, no call back #53
Comments
The server should be sending back some kind of response after the RETR command. What does the server log say? Did you mean to say it works without the preceding "./" ? |
Yes, looks like a server issue (security violation) - I needed to add AllowForeignAddress on However, is it a bug that your library never timed out or reported an error? |
There is a timeout for the actual PASV connection and one for connecting to the FTP server itself, but not for individual commands. You could easily do a setTimeout() though if you need to. In this particular case there is no way to know that it was a server misconfiguration. There could be other causes, like a very slow or unreliable network connection. |
I can connect and download test.txt via a normal ftp client but the get callback never gets called using the code below. If I try an incorrect filename an error gets correctly thrown. Tried with and without the leading './'
coffee code:
debug:
The text was updated successfully, but these errors were encountered: