File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test291
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: RETR
    6: --max-filesize
    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: </reply>
   20: 
   21: # Client-side
   22: <client>
   23: <server>
   24: ftp
   25: </server>
   26:  <name>
   27: FTP download maximum filesize not exceeded
   28:  </name>
   29:  <command>
   30: ftp://%HOSTIP:%FTPPORT/291 --max-filesize 100
   31: </command>
   32: </client>
   33: 
   34: # Verify data after the test has been "shot"
   35: <verify>
   36: <protocol>
   37: USER anonymous
   38: PASS ftp@example.com
   39: PWD
   40: EPSV
   41: TYPE I
   42: SIZE 291
   43: RETR 291
   44: QUIT
   45: </protocol>
   46: </verify>
   47: </testcase>

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