Home | History | Annotate | Download | only in data
      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 EPSV
      6 TYPE A
      7 RETR
      8 type=
      9 </keywords>
     10 </info>
     11 # Server-side
     12 <reply>
     13 <size>
     14 37
     15 </size>
     16 <data>
     17 data
     18     to
     19       see
     20 that FTP
     21 works
     22   so does it?
     23 </data>
     24 </reply>
     25 
     26 # Client-side
     27 <client>
     28 <server>
     29 ftp
     30 </server>
     31  <name>
     32 FTP GET with type=A style ASCII URL and understated server SIZE
     33  </name>
     34  <command>
     35 "ftp://%HOSTIP:%FTPPORT/129;type=A"
     36 </command>
     37 </client>
     38 
     39 # Verify data after the test has been "shot"
     40 <verify>
     41 <protocol>
     42 USER anonymous
     43 PASS ftp (a] example.com
     44 PWD
     45 EPSV
     46 TYPE A
     47 SIZE 129
     48 RETR 129
     49 QUIT
     50 </protocol>
     51 </verify>
     52 </testcase>
     53