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