File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test248
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: </keywords>
    6: </info>
    7: 
    8: <reply>
    9: <mdtm>
   10: 213 20050409102659
   11: </mdtm>
   12: </reply>
   13: 
   14: # Client-side
   15: <client>
   16: <server>
   17: ftp
   18: </server>
   19:  <name>
   20: FTP upload time condition evaluates FALSE => upload anyway
   21:  </name>
   22: <file name="log/test248.txt">
   23: data
   24:     to
   25:       see
   26: that FTP
   27: works
   28:   so does it?
   29: </file>
   30:  <command>
   31: ftp://%HOSTIP:%FTPPORT/248 -T log/test248.txt -z "apr 1 2005 08:00:00"
   32: </command>
   33: </client>
   34: 
   35: # Verify data after the test has been "shot"
   36: <verify>
   37: <upload>
   38: data
   39:     to
   40:       see
   41: that FTP
   42: works
   43:   so does it?
   44: </upload>
   45: <protocol>
   46: USER anonymous
   47: PASS ftp@example.com
   48: PWD
   49: MDTM 248
   50: EPSV
   51: TYPE I
   52: STOR 248
   53: QUIT
   54: </protocol>
   55: </verify>
   56: </testcase>

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