lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | FTP |
| 5 | EPSV |
| 6 | APPE |
| 7 | Resume |
| 8 | </keywords> |
| 9 | </info> |
| 10 | # Server-side |
| 11 | <reply> |
| 12 | <size> |
| 13 | 17 |
| 14 | </size> |
| 15 | </reply> |
| 16 | |
| 17 | # Client-side |
| 18 | <client> |
| 19 | <server> |
| 20 | ftp |
| 21 | </server> |
| 22 | <name> |
| 23 | FTP PASV upload resume from end of file |
| 24 | </name> |
| 25 | <command> |
| 26 | ftp://%HOSTIP:%FTPPORT/1038 -T log/upload1038 -C - |
| 27 | </command> |
| 28 | <file name="log/upload1038"> |
| 29 | this is the *****cr@p******** that we're gonna upload |
| 30 | |
| 31 | worx? |
| 32 | </file> |
| 33 | </client> |
| 34 | |
| 35 | # Verify data after the test has been "shot" |
| 36 | <verify> |
| 37 | <protocol> |
| 38 | USER anonymous
|
| 39 | PASS ftp@example.com
|
| 40 | PWD
|
| 41 | EPSV
|
| 42 | TYPE I
|
| 43 | SIZE 1038
|
| 44 | APPE 1038
|
| 45 | QUIT
|
| 46 | </protocol> |
| 47 | <upload> |
| 48 | cr@p******** that we're gonna upload |
| 49 | |
| 50 | worx? |
| 51 | </upload> |
| 52 | </verify> |
| 53 | </testcase> |