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/104 --head 25 </command> 26 </client> 27 28 # Verify data after the test has been "shot" 29 <verify> 30 <protocol> 31 USER anonymous 32 PASS ftp (a] example.com 33 PWD 34 CWD a 35 CWD path 36 MDTM 104 37 TYPE I 38 SIZE 104 39 REST 0 40 QUIT 41 </protocol> 42 </verify> 43 </testcase> 44