1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-17 23:15:08 -05:00
curl/tests/data/test110

53 lines
641 B
Plaintext
Raw Normal View History

<testcase>
2005-04-27 05:59:47 -04:00
<info>
<keywords>
FTP
PASV
RETR
Resume
</keywords>
</info>
2001-09-13 08:51:07 -04:00
# Server-side
<reply>
<data>
expected to be a file without the first part
but we emulate that
</data>
<size>
85
</size>
<servercmd>
REPLY EPSV 500 no such command
</servercmd>
2001-09-13 08:51:07 -04:00
</reply>
# Client-side
<client>
<server>
ftp
</server>
2001-09-13 08:51:07 -04:00
<name>
FTP download resume with set limit
</name>
<command>
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -C 20
2001-09-13 08:51:07 -04:00
</command>
</client>
2001-09-13 08:51:07 -04:00
# Verify data after the test has been "shot"
<verify>
<protocol>
USER anonymous
PASS ftp@example.com
2001-09-13 08:51:07 -04:00
PWD
EPSV
2001-09-13 08:51:07 -04:00
PASV
TYPE I
SIZE %TESTNUMBER
2001-09-13 08:51:07 -04:00
REST 20
RETR %TESTNUMBER
QUIT
2001-09-13 08:51:07 -04:00
</protocol>
</verify>
</testcase>