File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test135
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 10:01:16 2020 UTC (5 years ago) by misho
Branches: curl, MAIN
CVS tags: v7_70_0p4, HEAD
curl

    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@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>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>