lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | # Similar to test141 |
| 3 | <info> |
| 4 | <keywords> |
| 5 | FTP |
| 6 | NOBODY |
| 7 | Largefile |
| 8 | </keywords> |
| 9 | </info> |
| 10 | |
| 11 | # Server-side |
| 12 | <reply> |
| 13 | <data> |
| 14 | </data> |
| 15 | <size> |
| 16 | 9999999999 |
| 17 | </size> |
| 18 | <mdtm> |
| 19 | 213 20080726102659 |
| 20 | </mdtm> |
| 21 | </reply> |
| 22 | |
| 23 | # Client-side |
| 24 | <client> |
| 25 | <features> |
| 26 | large_file |
| 27 | </features> |
| 28 | <server> |
| 29 | ftp |
| 30 | </server> |
| 31 | <name> |
| 32 | FTP download large file info with -I |
| 33 | </name> |
| 34 | <command> |
| 35 | ftp://%HOSTIP:%FTPPORT/blalbla/1044 -I |
| 36 | </command> |
| 37 | </client> |
| 38 | |
| 39 | # Verify data after the test has been "shot" |
| 40 | <verify> |
| 41 | <protocol> |
| 42 | USER anonymous
|
| 43 | PASS ftp@example.com
|
| 44 | PWD
|
| 45 | CWD blalbla
|
| 46 | MDTM 1044
|
| 47 | TYPE I
|
| 48 | SIZE 1044
|
| 49 | REST 0
|
| 50 | QUIT
|
| 51 | </protocol> |
| 52 | <stdout> |
| 53 | Last-Modified: Sat, 26 Jul 2008 10:26:59 GMT
|
| 54 | Content-Length: 9999999999
|
| 55 | Accept-ranges: bytes
|
| 56 | </stdout> |
| 57 | </verify> |
| 58 | </testcase> |