File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test564
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: # Warning: if this test fails to start the SSH server, check that none of
    3: # the user's shell profiles sends output to stdout of a non-interactive shell.
    4: <info>
    5: <keywords>
    6: FTP
    7: PASV
    8: RETR
    9: multi
   10: SOCKS4
   11: </keywords>
   12: </info>
   13: # Server-side
   14: <reply>
   15: <data>
   16: data
   17:     to
   18:       see
   19: that FTP
   20: works
   21:   so does it?
   22: </data>
   23: 
   24: </reply>
   25: 
   26: # Client-side
   27: <client>
   28: <server>
   29: ftp
   30: socks4
   31: </server>
   32: <tool>
   33: lib564
   34: </tool>
   35:  <name>
   36: FTP RETR a file over a SOCKS proxy using the multi interface
   37:  </name>
   38: <command>
   39: ftp://%HOSTIP:%FTPPORT/path/564 %HOSTIP:%SOCKSPORT
   40: </command>
   41: <features>
   42: proxy
   43: </features>
   44: </client>
   45: 
   46: # Verify data after the test has been "shot"
   47: <verify>
   48: <protocol>
   49: USER anonymous
   50: PASS ftp@example.com
   51: PWD
   52: CWD path
   53: EPSV
   54: TYPE I
   55: SIZE 564
   56: RETR 564
   57: QUIT
   58: </protocol>
   59: <stdout>
   60: data
   61:     to
   62:       see
   63: that FTP
   64: works
   65:   so does it?
   66: </stdout>
   67: </verify>
   68: </testcase>

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