blob: ce3fc0b61f9a43e09346e9f9f472ffef5e641415 [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001<testcase>
2<info>
3<keywords>
4FTP
5EPSV
6RETR
7Range
8</keywords>
9</info>
10
11# Server-side
12<reply>
13<data>
14456789abcdef
15</data>
16<datacheck nonewline="yes">
17456789abcdef
18</datacheck>
19<size>
2064
21</size>
22</reply>
23
24# Client-side
25<client>
26<server>
27ftp
28</server>
29 <name>
30FTP retrieve a byte-range relative to end of file
31 </name>
32 <command>
33-r -12 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
34</command>
35</client>
36
37# Verify data after the test has been "shot"
38<verify>
39<protocol>
40USER anonymous
41PASS ftp@example.com
42PWD
43EPSV
44TYPE I
45SIZE %TESTNUMBER
46REST 52
47RETR %TESTNUMBER
48ABOR
49QUIT
50</protocol>
51</verify>
52</testcase>