1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00
curl/tests/data/test291
Dan Fandrich ffb11ad5c6 Don't tear down the ftp connection if the maximum filesize was exceeded
and added tests 290 and 291 to check.
2007-03-30 01:13:47 +00:00

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>