xref: /curl/tests/data/test120 (revision cd4aee15)
1<testcase>
2<info>
3<keywords>
4FTP
5PASV
6RETR
7post-quote
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 314 bluah you f00l!
22</servercmd>
23</reply>
24
25# Client-side
26<client>
27<server>
28ftp
29</server>
30<name>
31ftp download with post-quote delete operation
32</name>
33<command>
34ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -Q "-DELE file"
35</command>
36</client>
37
38# Verify data after the test has been "shot"
39<verify>
40<strip>
41QUIT
42</strip>
43<protocol>
44USER anonymous
45PASS ftp@example.com
46PWD
47EPSV
48PASV
49TYPE I
50SIZE %TESTNUMBER
51RETR %TESTNUMBER
52DELE file
53QUIT
54</protocol>
55</verify>
56</testcase>
57