File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test336
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: TYPE A
    7: RETR
    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: <datacheck nonewline="yes">
   21: data
   22: </datacheck>
   23: <servercmd>
   24: REPLY EPSV 500 no such command
   25: REPLY SIZE 500 no such command
   26: </servercmd>
   27: </reply>
   28: 
   29: # Client-side
   30: <client>
   31: <server>
   32: ftp
   33: </server>
   34:  <name>
   35: FTP range download when SIZE doesn't work
   36:  </name>
   37:  <command>
   38: ftp://%HOSTIP:%FTPPORT/336 --use-ascii --range 3-6
   39: </command>
   40: </client>
   41: 
   42: # Verify data after the test has been "shot"
   43: <verify>
   44: <protocol>
   45: USER anonymous
   46: PASS ftp@example.com
   47: PWD
   48: EPSV
   49: PASV
   50: TYPE A
   51: SIZE 336
   52: REST 3
   53: RETR 336
   54: ABOR
   55: QUIT
   56: </protocol>
   57: </verify>
   58: </testcase>

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