File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test270
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: </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: <servercmd>
   20: PASVBADIP
   21: </servercmd>
   22: </reply>
   23: 
   24: # Client-side
   25: <client>
   26: <server>
   27: ftp
   28: </server>
   29:  <name>
   30: FTP RETR PASV --ftp-skip-pasv-ip
   31:  </name>
   32:  <command>
   33: ftp://%HOSTIP:%FTPPORT/270 --ftp-skip-pasv-ip --disable-epsv
   34: </command>
   35: </client>
   36: 
   37: # Verify data after the test has been "shot"
   38: <verify>
   39: <protocol>
   40: USER anonymous
   41: PASS ftp@example.com
   42: PWD
   43: PASV
   44: TYPE I
   45: SIZE 270
   46: RETR 270
   47: QUIT
   48: </protocol>
   49: </verify>
   50: </testcase>

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