projects
/
platform
/
upstream
/
curl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
9a710cbe3aad2effab6e23f3fd438a1eca0988cb
[platform/upstream/curl.git]
/
tests
/
data
/
test227
1
<testcase>
2
<info>
3
<keywords>
4
FTP
5
post-quote
6
pre-quote
7
</keywords>
8
</info>
9
# Server-side
10
<reply>
11
<data>
12
data
13
to
14
see
15
that FTP
16
works
17
so does it?
18
</data>
19
<servercmd>
20
REPLY EPSV 500 no such command
21
REPLY FAIL 500 this might not be a failure!
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" -Q "*FAIL" -Q "+*FAIL HARD"
35
</command>
36
</client>
37
38
# Verify data after the test has been "shot"
39
<verify>
40
<protocol>
41
USER anonymous
42
PASS ftp@example.com
43
PWD
44
NOOP 1
45
FAIL
46
EPSV
47
PASV
48
TYPE I
49
NOOP 2
50
FAIL HARD
51
SIZE 227
52
RETR 227
53
NOOP 3
54
QUIT
55
</protocol>
56
</verify>
57
</testcase>