File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test715
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: #based off test 712
    3: <info>
    4: <keywords>
    5: FTP
    6: PASV
    7: RETR
    8: HTTP
    9: HTTP CONNECT
   10: proxytunnel
   11: SOCKS5
   12: CURLOPT_CONNECT_TO
   13: </keywords>
   14: </info>
   15: #
   16: # Server-side
   17: <reply>
   18: <connect>
   19: HTTP/1.1 200 Connection established
   20: 
   21: </connect>
   22: 
   23: <data nocheck="yes">
   24: silly content
   25: </data>
   26: 
   27: <datacheck>
   28: HTTP/1.1 200 Connection established
   29: 
   30: HTTP/1.1 200 Connection established
   31: 
   32: silly content
   33: </datacheck>
   34: </reply>
   35: 
   36: #
   37: # Client-side
   38: <client>
   39: <server>
   40: ftp
   41: http-proxy
   42: socks5
   43: </server>
   44: <features>
   45: http
   46: proxy
   47: </features>
   48:  <name>
   49: FTP fetch with --preproxy, --proxy and --connect-to
   50:  </name>
   51:  <command>
   52: ftp://ftp.example.com.715/715 --connect-to ::connect.example.com.715:%FTPPORT --proxytunnel --proxy %HOSTIP:%PROXYPORT --preproxy socks5://%HOSTIP:%SOCKSPORT 
   53: </command>
   54: </client>
   55: 
   56: #
   57: # Verify data after the test has been "shot"
   58: <verify>
   59: <protocol>
   60: USER anonymous
   61: PASS ftp@example.com
   62: PWD
   63: EPSV
   64: TYPE I
   65: SIZE 715
   66: RETR 715
   67: QUIT
   68: </protocol>
   69: </verify>
   70: </testcase>

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