Home | History | Annotate | Download | only in data
      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 PASV
      6 RETR
      7 </keywords>
      8 </info>
      9 # Server-side
     10 <reply>
     11 <data>
     12 silly data
     13 over FTP
     14 </data>
     15 </reply>
     16 
     17 # Client-side
     18 <client>
     19 <server>
     20 ftp
     21 </server>
     22 <tool>
     23 lib562
     24 </tool>
     25  <name>
     26 FTP a type=A URL and CURLOPT_PORT set
     27  </name>
     28 
     29 # note that we need quotes around the URL below to make sure the shell doesn't
     30 # treat the semicolon as a separator!
     31  <command>
     32 'ftp://%HOSTIP:23456/562;type=A' %FTPPORT
     33 </command>
     34 
     35 </client>
     36 
     37 # Verify data after the test has been "shot"
     38 #
     39 # There's no MTDM in the protocol here since this code doesn't ask for the
     40 # time/date of the file
     41 <verify>
     42 <protocol>
     43 USER anonymous
     44 PASS ftp (a] example.com
     45 PWD
     46 EPSV
     47 TYPE A
     48 SIZE 562
     49 RETR 562
     50 QUIT
     51 </protocol>
     52 </verify>
     53 </testcase>
     54