55 строки
631 B
Plaintext
55 строки
631 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
FTP
|
|
EPSV
|
|
RETR
|
|
Range
|
|
</keywords>
|
|
</info>
|
|
# Server-side
|
|
<reply>
|
|
<data>
|
|
0123456789abcdef
|
|
0123456789abcdef
|
|
0123456789abcdef
|
|
0123456789abcdef
|
|
</data>
|
|
<datacheck nonewline="yes">
|
|
0123456789abc
|
|
</datacheck>
|
|
<size>
|
|
64
|
|
</size>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
ftp
|
|
</server>
|
|
<name>
|
|
FTP retrieve a byte-range
|
|
</name>
|
|
<command>
|
|
-r 4-16 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
|
|
</command>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<protocol>
|
|
USER anonymous
|
|
PASS ftp@example.com
|
|
PWD
|
|
EPSV
|
|
TYPE I
|
|
SIZE %TESTNUMBER
|
|
REST 4
|
|
RETR %TESTNUMBER
|
|
ABOR
|
|
QUIT
|
|
</protocol>
|
|
</verify>
|
|
</testcase>
|