1<testcase>
2<info>
3<keywords>
4FTP
5EPSV
6RETR
7post-quote
8pre-quote
9</keywords>
10</info>
11# Server-side
12<reply>
13<data>
14data
15    to
16      see
17that FTP
18works
19  so does it?
20</data>
21</reply>
22
23# Client-side
24<client>
25<server>
26ftp
27</server>
28 <name>
29ftp download with post- and pre-transfer delete operations
30 </name>
31 <command>
32ftp://%HOSTIP:%FTPPORT/121 -Q "-DELE after_transfer" -Q "DELE before_transfer"
33</command>
34</client>
35
36# Verify data after the test has been "shot"
37<verify>
38<protocol>
39USER anonymous
40PASS ftp@example.com
41PWD
42DELE before_transfer
43EPSV
44TYPE I
45SIZE 121
46RETR 121
47DELE after_transfer
48QUIT
49</protocol>
50</verify>
51</testcase>
52