projects
/
platform
/
upstream
/
curl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
10eb0eacd1354bffe2e3df0ca534cfb530ceba8f
[platform/upstream/curl.git]
/
tests
/
data
/
test135
1
<testcase>
2
<info>
3
<keywords>
4
FTP
5
EPSV
6
RETR
7
Range
8
</keywords>
9
</info>
10
# Server-side
11
<reply>
12
<data>
13
0123456789abcdef
14
0123456789abcdef
15
0123456789abcdef
16
0123456789abcdef
17
</data>
18
<datacheck nonewline="yes">
19
0123456789abc
20
</datacheck>
21
<size>
22
64
23
</size>
24
</reply>
25
26
# Client-side
27
<client>
28
<server>
29
ftp
30
</server>
31
<name>
32
FTP retrieve a byte-range
33
</name>
34
<command>
35
-r 4-16 ftp://%HOSTIP:%FTPPORT/135
36
</command>
37
</client>
38
39
# Verify data after the test has been "shot"
40
<verify>
41
<protocol>
42
USER anonymous
\r
43
PASS ftp@example.com
\r
44
PWD
\r
45
EPSV
\r
46
TYPE I
\r
47
SIZE 135
\r
48
REST 4
\r
49
RETR 135
\r
50
ABOR
\r
51
QUIT
\r
52
</protocol>
53
</verify>
54
</testcase>