xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | FTP |
| 5 | PASV |
| 6 | LIST |
| 7 | ACCT |
| 8 | FAILURE |
| 9 | </keywords> |
| 10 | </info> |
| 11 | # |
| 12 | # Server-side |
| 13 | <reply> |
| 14 | <servercmd> |
| 15 | REPLY PASS 332 Give me an ACCT now |
| 16 | REPLY PWD 530 No ACCT, go away |
| 17 | </servercmd> |
| 18 | </reply> |
| 19 | |
| 20 | # |
| 21 | # Client-side |
| 22 | <client> |
| 23 | <server> |
| 24 | ftp |
| 25 | </server> |
| 26 | <name> |
| 27 | FTP ACCT request without --ftp-account |
| 28 | </name> |
| 29 | <command> |
| 30 | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER/ |
| 31 | </command> |
| 32 | </client> |
| 33 | |
| 34 | # |
| 35 | # Verify data after the test has been "shot" |
| 36 | <verify> |
| 37 | <errorcode> |
| 38 | 67 |
| 39 | </errorcode> |
| 40 | <protocol> |
| 41 | USER anonymous
|
| 42 | PASS ftp@example.com
|
| 43 | </protocol> |
| 44 | </verify> |
| 45 | </testcase> |