File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test542
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: PASV
    6: RETR
    7: </keywords>
    8: </info>
    9: # Server-side
   10: <reply>
   11: <data>
   12: data
   13:     to
   14:       see
   15: that FTP
   16: works
   17:   so does it?
   18: </data>
   19: <datacheck>
   20: Content-Length: 51
   21: Accept-ranges: bytes
   22: </datacheck>
   23: </reply>
   24: 
   25: # Client-side
   26: <client>
   27: <server>
   28: ftp
   29: </server>
   30: <tool>
   31: lib542
   32: </tool>
   33:  <name>
   34: FTP a file with NOBODY yes and HEADER no
   35:  </name>
   36:  <command>
   37: ftp://%HOSTIP:%FTPPORT/542
   38: </command>
   39: 
   40: </client>
   41: 
   42: # Verify data after the test has been "shot"
   43: #
   44: # There's no MTDM in the protocol here since this code doesn't ask for the
   45: # time/date of the file
   46: <verify>
   47: <protocol>
   48: USER anonymous
   49: PASS ftp@example.com
   50: PWD
   51: TYPE I
   52: SIZE 542
   53: REST 0
   54: QUIT
   55: </protocol>
   56: </verify>
   57: </testcase>

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