Home | History | Annotate | Download | only in data
      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 PASV
      6 RETR
      7 PRET
      8 </keywords>
      9 </info>
     10 # Server-side
     11 <reply>
     12 
     13 <servercmd>
     14 REPLY PRET 550 unkown command
     15 </servercmd>
     16 </reply>
     17 
     18 # Client-side
     19 <client>
     20 <server>
     21 ftp
     22 </server>
     23  <name>
     24 FTP RETR PASV with PRET not supported
     25  </name>
     26  <command>
     27 ftp://%HOSTIP:%FTPPORT/1108 --ftp-pret
     28 </command>
     29 
     30 </client>
     31 
     32 # Verify data after the test has been "shot"
     33 <verify>
     34 <protocol>
     35 USER anonymous
     36 PASS ftp (a] example.com
     37 PWD
     38 PRET RETR 1108
     39 </protocol>
     40 # we expect that the server doesn't understand PRET
     41 <errorcode>
     42 84
     43 </errorcode>
     44 </verify>
     45 </testcase>
     46