1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-10 11:35:07 -05:00
curl/tests/data/test291

48 lines
538 B
Plaintext
Raw Normal View History

<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>