File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test120
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: post-quote
    8: </keywords>
    9: </info>
   10: # Server-side
   11: <reply>
   12: <data>
   13: data
   14:     to
   15:       see
   16: that FTP
   17: works
   18:   so does it?
   19: </data>
   20: <servercmd>
   21: REPLY EPSV 314 bluah you f00l!
   22: </servercmd>
   23: </reply>
   24: 
   25: # Client-side
   26: <client>
   27: <server>
   28: ftp
   29: </server>
   30:  <name>
   31: ftp download with post-quote delete operation
   32:  </name>
   33:  <command>
   34: ftp://%HOSTIP:%FTPPORT/120 -Q "-DELE file"
   35: </command>
   36: </client>
   37: 
   38: # Verify data after the test has been "shot"
   39: <verify>
   40: <protocol>
   41: USER anonymous
   42: PASS ftp@example.com
   43: PWD
   44: EPSV
   45: PASV
   46: TYPE I
   47: SIZE 120
   48: RETR 120
   49: DELE file
   50: QUIT
   51: </protocol>
   52: </verify>
   53: </testcase>

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