xref: /curl/tests/data/test135 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4FTP
5EPSV
6RETR
7Range
8</keywords>
9</info>
10# Server-side
11<reply>
12<data>
130123456789abcdef
140123456789abcdef
150123456789abcdef
160123456789abcdef
17</data>
18<datacheck nonewline="yes">
190123456789abc
20</datacheck>
21<size>
2264
23</size>
24</reply>
25
26# Client-side
27<client>
28<server>
29ftp
30</server>
31<name>
32FTP retrieve a byte-range
33</name>
34<command>
35-r 4-16 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
36</command>
37</client>
38
39# Verify data after the test has been "shot"
40<verify>
41<protocol>
42USER anonymous
43PASS ftp@example.com
44PWD
45EPSV
46TYPE I
47SIZE %TESTNUMBER
48REST 4
49RETR %TESTNUMBER
50ABOR
51QUIT
52</protocol>
53</verify>
54</testcase>
55