1 <testcase> 2 <info> 3 <keywords> 4 FTP 5 </keywords> 6 </info> 7 8 # Server-side 9 <reply> 10 </reply> 11 12 # Client-side 13 <client> 14 <server> 15 ftp 16 </server> 17 # tool is what to use instead of 'curl' 18 <tool> 19 lib505 20 </tool> 21 22 <name> 23 FTP upload with rename after transfer 24 </name> 25 <command> 26 ftp://%HOSTIP:%FTPPORT/505 log/upload505 27 </command> 28 <file name="log/upload505"> 29 Contents 30 of 31 a file 32 to verify 33 ftp 34 upload 35 36 37 works? 38 </file> 39 </client> 40 41 # Verify data after the test has been "shot" 42 <verify> 43 <upload> 44 Contents 45 of 46 a file 47 to verify 48 ftp 49 upload 50 51 52 works? 53 </upload> 54 <protocol> 55 USER anonymous 56 PASS ftp (a] example.com 57 PWD 58 EPSV 59 TYPE I 60 STOR 505 61 RNFR 505 62 RNTO 505-forreal 63 QUIT 64 </protocol> 65 </verify> 66 </testcase> 67