-
Notifications
You must be signed in to change notification settings - Fork 16
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
FTP giving unexpected status messages; not uploading? #157
Comments
Stepping through the FTPProvider code, I think maybe it's not expecting many lines of response when logging in? After many retries, one upload did eventually succeed, so this is close to working. Here's a transcript of logging in via command-line ftp:
|
After doing a little more tracing, I think the problem might be that the server sends some of the 220 responses, so FTPProvider immediately sends the login name. But then more of the initial 220 responses arrive, which the provider is incorrectly interpreting as the response to the username login. I see there are some 0.1 sec sleeps in the code, perhaps an attempt to wait until the server has sent everything? But that doesn't seem very robust. |
Not be able to download file. I am using host like ftp://12.2.3.5:22 Please help me. Thnks |
I'm trying to upload to an ftp server that requires anonymous login. Here's my code:
I'm getting 220 and 331 status messages back (see logs below), which sound like potentially there isn't really an error, but uploading has not occurred. I don't control this FTP server and can't see what's happening on the server side.
The text was updated successfully, but these errors were encountered: