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