| xf.li | 6c8fc1e | 2023-08-12 00:11:09 -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 | </reply> | ||||
| 13 | |||||
| 14 | # Client-side | ||||
| 15 | <client> | ||||
| 16 | <server> | ||||
| 17 | ftp | ||||
| 18 | </server> | ||||
| 19 | <name> | ||||
| 20 | FTP PASV upload resume | ||||
| 21 | </name> | ||||
| 22 | <command> | ||||
| 23 | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/upload%TESTNUMBER -C 40 | ||||
| 24 | </command> | ||||
| 25 | <file name="log/upload%TESTNUMBER"> | ||||
| 26 | this is the *****crap******** that we're gonna upload | ||||
| 27 | |||||
| 28 | worx? | ||||
| 29 | </file> | ||||
| 30 | </client> | ||||
| 31 | |||||
| 32 | # Verify data after the test has been "shot" | ||||
| 33 | <verify> | ||||
| 34 | <protocol> | ||||
| 35 | USER anonymous | ||||
| 36 | PASS ftp@example.com | ||||
| 37 | PWD | ||||
| 38 | EPSV | ||||
| 39 | TYPE I | ||||
| 40 | APPE %TESTNUMBER | ||||
| 41 | QUIT | ||||
| 42 | </protocol> | ||||
| 43 | <upload> | ||||
| 44 | gonna upload | ||||
| 45 | |||||
| 46 | worx? | ||||
| 47 | </upload> | ||||
| 48 | </verify> | ||||
| 49 | </testcase> | ||||