Git init
[external/curl.git] / tests / data / test538
1 <testcase>
2 <info>
3 <keywords>
4 FTP
5 FAILURE
6 multi
7 </keywords>
8 </info>
9
10 # Server-side
11 <reply>
12 <servercmd>
13 REPLY PASS 314 bluah you f00l!
14 </servercmd>
15 </reply>
16
17 # Client-side
18 <client>
19 <server>
20 ftp
21 </server>
22 # NOTE that we use the 504 tool for this case
23 <tool>
24 lib504
25 </tool>
26  <name>
27 FTP multi-interface download, failed login: PASS not valid
28  </name>
29  <command>
30 ftp://%HOSTIP:%FTPPORT/538
31 </command>
32 </client>
33
34 # Verify data after the test has been "shot"
35 <verify>
36 # ok, the error code here is supposed to be 100 for the fine case since
37 # that's just how lib504.c is written
38 <errorcode>
39 100
40 </errorcode>
41 <protocol>
42 USER anonymous\r
43 PASS ftp@example.com\r
44 </protocol>
45 </verify>
46 </testcase>