Git init
[external/curl.git] / tests / data / test118
1 <testcase>
2 <info>
3 <keywords>
4 FTP
5 PASV
6 RETR
7 FAILURE
8 </keywords>
9 </info>
10 # Server-side
11 <reply>
12 <servercmd>
13 REPLY RETR 314 bluah you f00l!
14 REPLY EPSV 314 bluah you f00l!
15 </servercmd>
16 </reply>
17
18 # Client-side
19 <client>
20 <server>
21 ftp
22 </server>
23  <name>
24 FTP download, failed RETR
25  </name>
26  <command>
27 ftp://%HOSTIP:%FTPPORT/118
28 </command>
29 </client>
30
31 # Verify data after the test has been "shot"
32 <verify>
33 <errorcode>
34 19
35 </errorcode>
36 <protocol>
37 USER anonymous\r
38 PASS ftp@example.com\r
39 PWD\r
40 EPSV\r
41 PASV\r
42 TYPE I\r
43 SIZE 118\r
44 RETR 118\r
45 QUIT\r
46 </protocol>
47 </verify>
48 </testcase>