lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 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 | # TEST_ERR_SUCCESS is errorcode 120 |
| 36 | <verify> |
| 37 | <errorcode> |
| 38 | 120 |
| 39 | </errorcode> |
| 40 | <protocol> |
| 41 | USER anonymous
|
| 42 | PASS ftp@example.com
|
| 43 | </protocol> |
| 44 | </verify> |
| 45 | </testcase> |