1<testcase>
2<info>
3<keywords>
4FTP
5post-quote
6pre-quote
7quote
8</keywords>
9</info>
10# Server-side
11<reply>
12<data>
13data
14    to
15      see
16that FTP
17works
18  so does it?
19</data>
20<servercmd>
21REPLY EPSV 500 no such command
22REPLY FAIL 500 this might not be a failure!
23</servercmd>
24</reply>
25
26# Client-side
27<client>
28<server>
29ftp
30</server>
31 <name>
32FTP with quote ops
33 </name>
34 <command>
35ftp://%HOSTIP:%FTPPORT/227 -Q "NOOP 1" -Q "+NOOP 2" -Q "-NOOP 3" -Q "*FAIL" -Q "+*FAIL HARD"
36</command>
37</client>
38
39# Verify data after the test has been "shot"
40<verify>
41<protocol>
42USER anonymous
43PASS ftp@example.com
44PWD
45NOOP 1
46FAIL
47EPSV
48PASV
49TYPE I
50NOOP 2
51FAIL HARD
52SIZE 227
53RETR 227
54NOOP 3
55QUIT
56</protocol>
57</verify>
58</testcase>
59