mirror of
https://github.com/moparisthebest/curl
synced 2024-11-18 07:25:14 -05:00
ffb11ad5c6
and added tests 290 and 291 to check.
48 lines
538 B
Plaintext
48 lines
538 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
FTP
|
|
RETR
|
|
--max-filesize
|
|
</keywords>
|
|
</info>
|
|
# Server-side
|
|
<reply>
|
|
<data>
|
|
data
|
|
to
|
|
see
|
|
that FTP
|
|
works
|
|
so does it?
|
|
</data>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
ftp
|
|
</server>
|
|
<name>
|
|
FTP download maximum filesize not exceeded
|
|
</name>
|
|
<command>
|
|
ftp://%HOSTIP:%FTPPORT/291 --max-filesize 100
|
|
</command>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<protocol>
|
|
USER anonymous
|
|
PASS ftp@example.com
|
|
PWD
|
|
EPSV
|
|
TYPE I
|
|
SIZE 291
|
|
RETR 291
|
|
QUIT
|
|
</protocol>
|
|
</verify>
|
|
</testcase>
|