Skip to content

FTP ASCII download fails due to erroneous SIZE response #6564

Description

@awesomenode

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!

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions