aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test135
blob: 9a3d098d37dea6cb860f1535dcf9e594a5895203 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<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/135
</command>
</client>

# Verify data after the test has been "shot"
<verify>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PWD
EPSV
TYPE I
SIZE 135
REST 4
RETR 135
QUIT
</protocol>
</verify>
</testcase>