lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | FTP |
| 5 | PASV |
| 6 | RETR |
| 7 | multi |
| 8 | </keywords> |
| 9 | </info> |
| 10 | |
| 11 | # Server-side |
| 12 | <reply> |
| 13 | <data> |
| 14 | </data> |
| 15 | |
| 16 | <servercmd> |
| 17 | REPLY RETR 550 the file doesn't exist |
| 18 | REPLY SIZE 550 Can't check for file existence |
| 19 | </servercmd> |
| 20 | </reply> |
| 21 | |
| 22 | # Client-side |
| 23 | <client> |
| 24 | <server> |
| 25 | ftp |
| 26 | </server> |
| 27 | <tool> |
| 28 | lib533 |
| 29 | </tool> |
| 30 | <name> |
| 31 | FTP RETR a non-existing file twice using the multi interface |
| 32 | </name> |
| 33 | <command> |
| 34 | ftp://%HOSTIP:%FTPPORT/path/533 ftp://%HOSTIP:%FTPPORT/path/533 |
| 35 | </command> |
| 36 | </client> |
| 37 | |
| 38 | # Verify data after the test has been "shot" |
| 39 | <verify> |
| 40 | <protocol> |
| 41 | USER anonymous
|
| 42 | PASS ftp@example.com
|
| 43 | PWD
|
| 44 | CWD path
|
| 45 | EPSV
|
| 46 | TYPE I
|
| 47 | SIZE 533
|
| 48 | RETR 533
|
| 49 | EPSV
|
| 50 | SIZE 533
|
| 51 | RETR 533
|
| 52 | QUIT
|
| 53 | </protocol> |
| 54 | </verify> |
| 55 | </testcase> |