File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test104
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: NOBODY
    6: </keywords>
    7: </info>
    8: # Server-side
    9: <reply>
   10: <size>
   11: 51
   12: </size>
   13: </reply>
   14: 
   15: # Client-side
   16: <client>
   17: <server>
   18: ftp
   19: </server>
   20:  <name>
   21: FTP --head to get file size only
   22:  </name>
   23:  <command>
   24: ftp://%HOSTIP:%FTPPORT/a/path/104 --head
   25: </command>
   26: </client>
   27: 
   28: # Verify data after the test has been "shot"
   29: <verify>
   30: <protocol>
   31: USER anonymous
   32: PASS ftp@example.com
   33: PWD
   34: CWD a
   35: CWD path
   36: MDTM 104
   37: TYPE I
   38: SIZE 104
   39: REST 0
   40: QUIT
   41: </protocol>
   42: </verify>
   43: </testcase>

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