test104 (524B)
1 <testcase> 2 <info> 3 <keywords> 4 FTP 5 NOBODY 6 </keywords> 7 </info> 8 # Server-side 9 <reply> 10 <size> 11 51 12 </size> 13 </reply> 14 15 # Client-side 16 <client> 17 <server> 18 ftp 19 </server> 20 <name> 21 FTP --head to get file size only 22 </name> 23 <command> 24 ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER --head 25 </command> 26 </client> 27 28 # Verify data after the test has been "shot" 29 <verify> 30 <strip> 31 QUIT 32 </strip> 33 <protocol> 34 USER anonymous 35 PASS ftp@example.com 36 PWD 37 CWD a 38 CWD path 39 MDTM %TESTNUMBER 40 TYPE I 41 SIZE %TESTNUMBER 42 REST 0 43 QUIT 44 </protocol> 45 </verify> 46 </testcase>