Home | History | Annotate | Download | only in data
      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 PORT
      6 RETR
      7 NODATACONN425
      8 </keywords>
      9 </info>
     10 # Server-side
     11 <reply>
     12 <data nocheck="yes">
     13 some bytes
     14 </data>
     15 <servercmd>
     16 NODATACONN425
     17 </servercmd>
     18 </reply>
     19 
     20 # Client-side
     21 <client>
     22 <server>
     23 ftp
     24 </server>
     25  <name>
     26 FTP PORT and 425 on download
     27  </name>
     28  <command>
     29 ftp://%HOSTIP:%FTPPORT/1211 -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 
     40 <protocol>
     41 USER anonymous
     42 PASS ftp (a] example.com
     43 PWD
     44 EPRT |1|
     45 TYPE I
     46 SIZE 1211
     47 RETR 1211
     48 </protocol>
     49 <errorcode>
     50 28
     51 </errorcode>
     52 </verify>
     53 </testcase>
     54