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 ASCII download fails due to erroneous SIZE response #6564
Labels
Comments
Does the server really return a 550 in that situation? To me that seems... wrong. |
Yep it seems buggy to me also. But these are already out there. :( |
bagder
added a commit
that referenced
this issue
Feb 4, 2021
... as we ignore it anyway because servers don't report the correct size and proftpd even blatantly returns a 550. Updates a set of tests accordingly. Reported-by: awesomenode on github Fixes #6564
I went with skipping |
Excellent, thank you Daniel! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
Found some FTP servers which refuse to give SIZE response in ASCII mode.
One such is proftpd, their reasoning is here: http://www.proftpd.org/docs/howto/ASCII.html
Now with the change in 7ea2e1d
it is not possible to download in ascii mode from these servers as the download fails on the 550 response to the SIZE command.
Prior to that the download continues with "unkown" size.
Could you please fix this, or eg add an option so we allow ASCII mode SIZE to fail?
I did this
FTP ASCII mode download from proftpd fails.
I expected the following
Download succeeds.
curl/libcurl version
7.74
operating system
Linux.
Thanks!
The text was updated successfully, but these errors were encountered: