test118 (636B)
1 <testcase> 2 <info> 3 <keywords> 4 FTP 5 PASV 6 RETR 7 FAILURE 8 </keywords> 9 </info> 10 # Server-side 11 <reply> 12 <servercmd> 13 REPLY RETR 314 bluah you f00l! 14 REPLY EPSV 314 bluah you f00l! 15 REPLY SIZE 500 command not understood 16 </servercmd> 17 </reply> 18 19 # Client-side 20 <client> 21 <server> 22 ftp 23 </server> 24 <name> 25 FTP download, failed RETR 26 </name> 27 <command> 28 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER 29 </command> 30 </client> 31 32 # Verify data after the test has been "shot" 33 <verify> 34 <strip> 35 QUIT 36 </strip> 37 <errorcode> 38 19 39 </errorcode> 40 <protocol> 41 USER anonymous 42 PASS ftp@example.com 43 PWD 44 EPSV 45 PASV 46 TYPE I 47 SIZE %TESTNUMBER 48 RETR %TESTNUMBER 49 QUIT 50 </protocol> 51 </verify> 52 </testcase>