projects
/
platform
/
upstream
/
curl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
0458359988ecf4fbcdb5c571b9f5e0cfaeefd551
[platform/upstream/curl.git]
/
tests
/
data
/
test161
1
<testcase>
2
<info>
3
<keywords>
4
FTP
5
CURLE_PARTIAL_FILE
6
RETR
7
PASV
8
</keywords>
9
</info>
10
<reply>
11
<data>
12
1oooooooooooooooooooooooooooooooooooooooooo2
13
</data>
14
<size>
15
10928
16
</size>
17
</reply>
18
19
# Client-side
20
<client>
21
<server>
22
ftp
23
</server>
24
<name>
25
FTP RETR PASV
26
</name>
27
<command>
28
ftp://%HOSTIP:%FTPPORT/161
29
</command>
30
</client>
31
32
33
# Verify data after the test has been "shot"
34
<verify>
35
# This gets QUIT sent because CURLE_PARTIAL_FILE does NOT mark the control
36
# connection as bad
37
<protocol>
38
USER anonymous
\r
39
PASS ftp@example.com
\r
40
PWD
\r
41
EPSV
\r
42
TYPE I
\r
43
SIZE 161
\r
44
RETR 161
\r
45
QUIT
\r
46
</protocol>
47
<errorcode>
48
18
49
</errorcode>
50
</verify>
51
</testcase>