lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | FTP |
| 5 | </keywords> |
| 6 | </info> |
| 7 | |
| 8 | # |
| 9 | # Server-side |
| 10 | <reply> |
| 11 | <servercmd> |
| 12 | REPLY MDTM 550 bluah you f00l! |
| 13 | REPLY SIZE 550 bluah you f00l! |
| 14 | </servercmd> |
| 15 | </reply> |
| 16 | |
| 17 | # Client-side |
| 18 | <client> |
| 19 | <server> |
| 20 | ftp |
| 21 | </server> |
| 22 | # tool is what to use instead of 'curl' |
| 23 | <tool> |
| 24 | lib511 |
| 25 | </tool> |
| 26 | |
| 27 | <name> |
| 28 | FTP with FILETIME and NOBODY but missing file |
| 29 | </name> |
| 30 | <command> |
| 31 | ftp://%HOSTIP:%FTPPORT/511 |
| 32 | </command> |
| 33 | </client> |
| 34 | |
| 35 | # |
| 36 | # Verify data after the test has been "shot" |
| 37 | <verify> |
| 38 | # CURLE_FTP_COULDNT_RETR_FILE |
| 39 | <errorcode> |
| 40 | 19 |
| 41 | </errorcode> |
| 42 | <protocol> |
| 43 | USER anonymous
|
| 44 | PASS ftp@example.com
|
| 45 | PWD
|
| 46 | MDTM 511
|
| 47 | QUIT
|
| 48 | </protocol> |
| 49 | </verify> |
| 50 | </testcase> |