Debian Codegraph @

curl/tests/data/test120

raw
1 <info>
2 <keywords>
3 FTP
4 PASV
5 RETR
6 post-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 </reply>
20
21 # Client-side
22 <client>
23 <server>
24 ftp
25 </server>
26 <name>
27 ftp download with post-quote delete operation
28 </name>
29 <command>
30 ftp://%HOSTIP:%FTPPORT/120 -Q "-DELE file"
31 </command>
32 <file name="log/ftpserver.cmd">
33 REPLY EPSV 314 bluah you f00l!
34 </file>
35 </client>
36
37 # Verify data after the test has been "shot"
38 <verify>
39 <protocol>
40 USER anonymous
41 PASS [email protected]
42 PWD
43 EPSV
44 PASV
45 TYPE I
46 SIZE 120
47 RETR 120
48 DELE file
49 QUIT
50 </protocol>
51 </verify>