test336 (723B)
1 <testcase> 2 <info> 3 <keywords> 4 FTP 5 PASV 6 TYPE A 7 RETR 8 </keywords> 9 </info> 10 # Server-side 11 <reply> 12 <data> 13 data 14 to 15 see 16 that FTP 17 works 18 so does it? 19 </data> 20 <datacheck nonewline="yes"> 21 data 22 </datacheck> 23 <servercmd> 24 REPLY EPSV 500 no such command 25 REPLY SIZE 500 no such command 26 </servercmd> 27 </reply> 28 29 # Client-side 30 <client> 31 <server> 32 ftp 33 </server> 34 <name> 35 FTP range download when SIZE doesn't work 36 </name> 37 <command> 38 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --range 3-6 39 </command> 40 </client> 41 42 # Verify data after the test has been "shot" 43 <verify> 44 <strip> 45 QUIT 46 </strip> 47 <protocol> 48 USER anonymous 49 PASS ftp@example.com 50 PWD 51 EPSV 52 PASV 53 TYPE I 54 SIZE %TESTNUMBER 55 REST 3 56 RETR %TESTNUMBER 57 ABOR 58 QUIT 59 </protocol> 60 </verify> 61 </testcase>