File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test1057
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: 
   11: # Server-side
   12: <reply>
   13: <data>
   14: 456789abcdef
   15: </data>
   16: <datacheck nonewline="yes">
   17: 456789abcdef
   18: </datacheck>
   19: <size>
   20: 64
   21: </size>
   22: </reply>
   23: 
   24: # Client-side
   25: <client>
   26: <server>
   27: ftp
   28: </server>
   29:  <name>
   30: FTP retrieve a byte-range relative to end of file
   31:  </name>
   32:  <command>
   33: -r -12 ftp://%HOSTIP:%FTPPORT/1057
   34: </command>
   35: </client>
   36: 
   37: # Verify data after the test has been "shot"
   38: <verify>
   39: <protocol>
   40: USER anonymous
   41: PASS ftp@example.com
   42: PWD
   43: EPSV
   44: TYPE I
   45: SIZE 1057
   46: REST 52
   47: RETR 1057
   48: ABOR
   49: QUIT
   50: </protocol>
   51: </verify>
   52: </testcase>

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