1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-25 09:38:54 -05:00
curl/tests/data/test135

55 lines
634 B
Plaintext
Raw Normal View History

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