d337468ac09a4ea49601d2f6f1c7018bc4007678
[platform/upstream/curl.git] / tests / data / test229
1 <testcase>
2 <info>
3 <keywords>
4 FTP
5 ACCT
6 FAILURE
7 </keywords>
8 </info>
9 # Server-side
10 <reply>
11 <servercmd>
12 REPLY PASS 332 please provide account name
13 REPLY ACCT 532 bluah!
14 </servercmd>
15 </reply>
16
17 # Client-side
18 <client>
19 <server>
20 ftp
21 </server>
22  <name>
23 FTP RETR with bad ACCT
24  </name>
25  <command>
26 ftp://%HOSTIP:%FTPPORT/229 --ftp-account "one count"
27 </command>
28 </client>
29
30 # Verify data after the test has been "shot"
31 <verify>
32 <protocol>
33 USER anonymous\r
34 PASS ftp@example.com\r
35 ACCT one count\r
36 </protocol>
37 <errorcode>
38 11
39 </errorcode>
40 </verify>
41 </testcase>