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