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