curl/tests/data/test135

55 lines
634 B
Plaintext
Raw Normal View History

<testcase>
2005-04-27 17:59:47 +08:00
<info>
<keywords>
FTP
EPSV
RETR
Range
</keywords>
</info>
2002-06-11 20:25:46 +08:00
# Server-side
<reply>
<data>
0123456789abcdef
0123456789abcdef
0123456789abcdef
0123456789abcdef
</data>
<datacheck nonewline="yes">
2002-06-11 20:25:46 +08:00
0123456789abc
</datacheck>
<size>
64
</size>
</reply>
# Client-side
<client>
<server>
ftp
</server>
2002-06-11 20:25:46 +08:00
<name>
FTP retrieve a byte-range
</name>
<command>
-r 4-16 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
2002-06-11 20:25:46 +08:00
</command>
</client>
2002-06-11 20:25:46 +08:00
# Verify data after the test has been "shot"
<verify>
<protocol>
USER anonymous
PASS ftp@example.com
2002-06-11 20:25:46 +08:00
PWD
EPSV
TYPE I
SIZE %TESTNUMBER
2002-06-11 20:25:46 +08:00
REST 4
RETR %TESTNUMBER
ABOR
QUIT
2002-06-11 20:25:46 +08:00
</protocol>
</verify>
</testcase>