projects
/
platform
/
upstream
/
curl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 7.53.1
[platform/upstream/curl.git]
/
tests
/
data
/
test210
1
<testcase>
2
<info>
3
<keywords>
4
FTP
5
</keywords>
6
</info>
7
8
# Server-side
9
<reply>
10
<data>
11
data blobb
12
</data>
13
14
# data is sent to stdout
15
</reply>
16
17
# Client-side
18
<client>
19
<server>
20
ftp
21
</server>
22
<name>
23
Get two FTP files from the same remote dir: no second CWD
24
</name>
25
<command>
26
ftp://%HOSTIP:%FTPPORT/a/path/210 ftp://%HOSTIP:%FTPPORT/a/path/210
27
</command>
28
<stdout>
29
data blobb
30
data blobb
31
</stdout>
32
</client>
33
34
# Verify data after the test has been "shot"
35
<verify>
36
<protocol>
37
USER anonymous
\r
38
PASS ftp@example.com
\r
39
PWD
\r
40
CWD a
\r
41
CWD path
\r
42
EPSV
\r
43
TYPE I
\r
44
SIZE 210
\r
45
RETR 210
\r
46
EPSV
\r
47
SIZE 210
\r
48
RETR 210
\r
49
QUIT
\r
50
</protocol>
51
</verify>
52
</testcase>