chiark
/
gitweb
/
~ian
/
curl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Import curl_7.56.1.orig.tar.gz
[curl.git]
/
tests
/
data
/
test126
1
<testcase>
2
<info>
3
<keywords>
4
FTP
5
EPSV
6
RETR
7
RETRWEIRDO
8
</keywords>
9
</info>
10
# Server-side
11
<reply>
12
<data>
13
this is file contents
14
</data>
15
<servercmd>
16
RETRWEIRDO
17
</servercmd>
18
</reply>
19
20
# Client-side
21
<client>
22
<server>
23
ftp
24
</server>
25
<name>
26
FTP download with multiple replies at once in RETR
27
</name>
28
<command>
29
ftp://%HOSTIP:%FTPPORT/blalbla/lululul/126
30
</command>
31
</client>
32
33
# Verify data after the test has been "shot"
34
<verify>
35
<protocol>
36
USER anonymous
\r
37
PASS ftp@example.com
\r
38
PWD
\r
39
CWD blalbla
\r
40
CWD lululul
\r
41
EPSV
\r
42
TYPE I
\r
43
SIZE 126
\r
44
RETR 126
\r
45
QUIT
\r
46
</protocol>
47
</verify>
48
</testcase>