Home | History | Annotate | Download | only in data
      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 PORT
      6 RETR
      7 NODATACONN421
      8 </keywords>
      9 </info>
     10 # Server-side
     11 <reply>
     12 <data nocheck="yes">
     13 some bytes
     14 </data>
     15 <servercmd>
     16 NODATACONN421
     17 </servercmd>
     18 </reply>
     19 
     20 # Client-side
     21 <client>
     22 <server>
     23 ftp
     24 </server>
     25  <name>
     26 FTP PORT and 421 on download
     27  </name>
     28  <command>
     29 --max-time %FTPTIME2 ftp://%HOSTIP:%FTPPORT/1207 -P -
     30 </command>
     31 
     32 </client>
     33 
     34 # Verify data after the test has been "shot"
     35 <verify>
     36 <strippart>
     37 s/^EPRT \|1\|(.*)/EPRT \|1\|/
     38 </strippart>
     39 <protocol>
     40 USER anonymous
     41 PASS ftp (a] example.com
     42 PWD
     43 EPRT |1|
     44 TYPE I
     45 SIZE 1207
     46 RETR 1207
     47 QUIT
     48 </protocol>
     49 <errorcode>
     50 10
     51 </errorcode>
     52 </verify>
     53 </testcase>
     54