Home | History | Annotate | Download | only in data
      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 </features>
     47  <name>
     48 FTP fetch with --preproxy, --proxy and --connect-to
     49  </name>
     50  <command>
     51 ftp://ftp.example.com.715/715 --connect-to ::connect.example.com.715:%FTPPORT --proxytunnel --proxy %HOSTIP:%PROXYPORT --preproxy socks5://%HOSTIP:%SOCKSPORT 
     52 </command>
     53 </client>
     54 
     55 #
     56 # Verify data after the test has been "shot"
     57 <verify>
     58 <protocol>
     59 USER anonymous
     60 PASS ftp (a] example.com
     61 PWD
     62 EPSV
     63 TYPE I
     64 SIZE 715
     65 RETR 715
     66 QUIT
     67 </protocol>
     68 </verify>
     69 </testcase>
     70