| 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 | <size> | 
 | 13 | 0 | 
 | 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 empty file | 
 | 24 |  </name> | 
 | 25 |  <command> | 
 | 26 | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/upload%TESTNUMBER -C - | 
 | 27 | </command> | 
 | 28 | <file name="log/upload%TESTNUMBER"> | 
 | 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 %TESTNUMBER
 | 
 | 44 | STOR %TESTNUMBER
 | 
 | 45 | QUIT
 | 
 | 46 | </protocol> | 
 | 47 | <upload> | 
 | 48 | this is the *****cr@p******** that we're gonna upload | 
 | 49 |  | 
 | 50 | worx? | 
 | 51 | </upload> | 
 | 52 | </verify> | 
 | 53 | </testcase> |