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 CURLOPT_CONNECT_TO 12 </keywords> 13 </info> 14 # 15 # Server-side 16 <reply> 17 <connect> 18 HTTP/1.1 200 Connection established 19 20 </connect> 21 22 <data nocheck="yes"> 23 silly content 24 </data> 25 26 <datacheck> 27 HTTP/1.1 200 Connection established 28 29 HTTP/1.1 200 Connection established 30 31 silly content 32 </datacheck> 33 </reply> 34 35 # 36 # Client-side 37 <client> 38 <server> 39 ftp 40 http-proxy 41 </server> 42 <features> 43 http 44 </features> 45 <name> 46 FTP fetch with --proxy set to http:// and with --connect-to 47 </name> 48 <command> 49 ftp://ftp.example.com.714/714 --connect-to ::connect.example.com.714:%FTPPORT --proxytunnel --proxy http://%HOSTIP:%PROXYPORT 50 </command> 51 </client> 52 53 # 54 # Verify data after the test has been "shot" 55 <verify> 56 <protocol> 57 USER anonymous 58 PASS ftp (a] example.com 59 PWD 60 EPSV 61 TYPE I 62 SIZE 714 63 RETR 714 64 QUIT 65 </protocol> 66 </verify> 67 </testcase> 68