1 <testcase> 2 <info> 3 <keywords> 4 FTP 5 RETR 6 </keywords> 7 </info> 8 # Server-side 9 <reply> 10 <data> 11 this is file contents 12 </data> 13 <size> 14 -1 15 </size> 16 <servercmd> 17 RETRNOSIZE 18 </servercmd> 19 </reply> 20 21 # Client-side 22 <client> 23 <server> 24 ftp 25 </server> 26 <name> 27 FTP download without size in RETR string and no SIZE command 28 </name> 29 <command> 30 ftp://%HOSTIP:%FTPPORT/blalbla/lululul/138 31 </command> 32 </client> 33 34 # Verify data after the test has been "shot" 35 <verify> 36 <protocol> 37 USER anonymous 38 PASS ftp (a] example.com 39 PWD 40 CWD blalbla 41 CWD lululul 42 EPSV 43 TYPE I 44 SIZE 138 45 RETR 138 46 QUIT 47 </protocol> 48 </verify> 49 </testcase> 50