xref: /curl/tests/data/test135 (revision cd4aee15)
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<strip>
42QUIT
43</strip>
44<protocol>
45USER anonymous
46PASS ftp@example.com
47PWD
48EPSV
49TYPE I
50SIZE %TESTNUMBER
51REST 4
52RETR %TESTNUMBER
53ABOR
54QUIT
55</protocol>
56</verify>
57</testcase>
58