lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 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 | ||||
34 | PASS ftp@example.com | ||||
35 | ACCT one count | ||||
36 | </protocol> | ||||
37 | <errorcode> | ||||
38 | 11 | ||||
39 | </errorcode> | ||||
40 | </verify> | ||||
41 | </testcase> |