projects
/
platform
/
upstream
/
curl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
55a24e108e1e650bb9f262d4e9ffba823308f59a
[platform/upstream/curl.git]
/
tests
/
data
/
test227
1
<testcase>
2
<info>
3
<keywords>
4
FTP
5
post-quote
6
pre-quote
7
quote
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
</servercmd>
23
</reply>
24
25
# Client-side
26
<client>
27
<server>
28
ftp
29
</server>
30
<name>
31
FTP with quote ops
32
</name>
33
<command>
34
ftp://%HOSTIP:%FTPPORT/227 -Q "NOOP 1" -Q "+NOOP 2" -Q "-NOOP 3"
35
</command>
36
</client>
37
38
# Verify data after the test has been "shot"
39
<verify>
40
<protocol>
41
USER anonymous
\r
42
PASS ftp@example.com
\r
43
PWD
\r
44
NOOP 1
\r
45
EPSV
\r
46
PASV
\r
47
TYPE I
\r
48
NOOP 2
\r
49
SIZE 227
\r
50
RETR 227
\r
51
NOOP 3
\r
52
QUIT
\r
53
</protocol>
54
</verify>
55
</testcase>