test1414 (722B)
1 <testcase> 2 <info> 3 <keywords> 4 FTP 5 PORT 6 RETR 7 no SIZE 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 <servercmd> 21 REPLY SIZE 502 no such command 22 REPLY EPRT 502 no such command 23 </servercmd> 24 </reply> 25 26 # Client-side 27 <client> 28 <server> 29 ftp 30 </server> 31 <name> 32 FTP PORT without SIZE or EPRT support 33 </name> 34 <command> 35 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -P - 36 </command> 37 </client> 38 39 # Verify data after the test has been "shot" 40 <verify> 41 <strip> 42 QUIT 43 </strip> 44 <strippart> 45 s/^(EPRT \|1\|)(.*)/$1/ 46 s/^(PORT)(.*)/$1/ 47 </strippart> 48 <protocol> 49 USER anonymous 50 PASS ftp@example.com 51 PWD 52 EPRT |1| 53 PORT 54 TYPE I 55 SIZE %TESTNUMBER 56 RETR %TESTNUMBER 57 QUIT 58 </protocol> 59 </verify> 60 </testcase>