mirror of
https://github.com/curl/curl.git
synced 2024-12-27 06:59:43 +08:00
e32601e13a
... 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
59 lines
692 B
Plaintext
59 lines
692 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
FTP
|
|
PASV
|
|
TYPE A
|
|
RETR
|
|
</keywords>
|
|
</info>
|
|
# Server-side
|
|
<reply>
|
|
<data>
|
|
data
|
|
to
|
|
see
|
|
that FTP
|
|
works
|
|
so does it?
|
|
</data>
|
|
<datacheck nonewline="yes">
|
|
data
|
|
</datacheck>
|
|
<servercmd>
|
|
REPLY EPSV 500 no such command
|
|
REPLY SIZE 213 file: 213, Size =51
|
|
</servercmd>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
ftp
|
|
</server>
|
|
<name>
|
|
FTP range download with SIZE returning extra crap
|
|
</name>
|
|
<command>
|
|
ftp://%HOSTIP:%FTPPORT/337 --range 3-6
|
|
</command>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<protocol>
|
|
USER anonymous
|
|
PASS ftp@example.com
|
|
PWD
|
|
EPSV
|
|
PASV
|
|
TYPE I
|
|
SIZE 337
|
|
REST 3
|
|
RETR 337
|
|
ABOR
|
|
QUIT
|
|
</protocol>
|
|
</verify>
|
|
</testcase>
|