Home | History | Annotate | Download | only in data
      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 EPSV
      6 RETR
      7 Range
      8 </keywords>
      9 </info>
     10 # Server-side
     11 <reply>
     12 <data>
     13 0123456789abcdef
     14 0123456789abcdef
     15 0123456789abcdef
     16 0123456789abcdef
     17 </data>
     18 <datacheck nonewline="yes">
     19 0123456789abc
     20 </datacheck>
     21 <size>
     22 64
     23 </size>
     24 </reply>
     25 
     26 # Client-side
     27 <client>
     28 <server>
     29 ftp
     30 </server>
     31  <name>
     32 FTP retrieve a byte-range
     33  </name>
     34  <command>
     35 -r 4-16 ftp://%HOSTIP:%FTPPORT/135
     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 I
     47 SIZE 135
     48 REST 4
     49 RETR 135
     50 ABOR
     51 QUIT
     52 </protocol>
     53 </verify>
     54 </testcase>
     55