mirror of
https://github.com/curl/curl.git
synced 2026-08-26 13:53:33 +03:00
ftp: avoid SIZE when asking for a TYPE A file
... 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 Closes #6565
This commit is contained in:
parent
5f08a5acd5
commit
e32601e13a
9 changed files with 18 additions and 69 deletions
|
|
@ -35,7 +35,7 @@ ftp
|
|||
FTP range download with SIZE returning extra crap
|
||||
</name>
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/337 --use-ascii --range 3-6
|
||||
ftp://%HOSTIP:%FTPPORT/337 --range 3-6
|
||||
</command>
|
||||
</client>
|
||||
|
||||
|
|
@ -47,7 +47,7 @@ PASS ftp@example.com
|
|||
PWD
|
||||
EPSV
|
||||
PASV
|
||||
TYPE A
|
||||
TYPE I
|
||||
SIZE 337
|
||||
REST 3
|
||||
RETR 337
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue