projects
/
platform
/
upstream
/
curl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
cc811aeb8360890e0b42b9a87b6102d984f296bc
[platform/upstream/curl.git]
/
tests
/
data
/
test105
1
<testcase>
2
<info>
3
<keywords>
4
FTP
5
PASV
6
TYPE A
7
RETR
8
</keywords>
9
</info>
10
# Server-side
11
<reply>
12
<data>
13
data
14
to
15
see
16
that FTP
17
works
18
so does it?
19
</data>
20
<servercmd>
21
REPLY EPSV 500 no such command
22
REPLY SIZE 500 no such command
23
</servercmd>
24
</reply>
25
26
# Client-side
27
<client>
28
<server>
29
ftp
30
</server>
31
<name>
32
FTP user+password in URL and ASCII transfer
33
</name>
34
<command>
35
ftp://userdude:passfellow@%HOSTIP:%FTPPORT/105 --use-ascii
36
</command>
37
</client>
38
39
# Verify data after the test has been "shot"
40
<verify>
41
<protocol>
42
USER userdude
\r
43
PASS passfellow
\r
44
PWD
\r
45
EPSV
\r
46
PASV
\r
47
TYPE A
\r
48
SIZE 105
\r
49
RETR 105
\r
50
QUIT
\r
51
</protocol>
52
</verify>
53
</testcase>