test715 (1021B)
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 <features> 40 proxy 41 </features> 42 <server> 43 ftp 44 http-proxy 45 socks5 46 </server> 47 <features> 48 http 49 proxy 50 </features> 51 <name> 52 FTP fetch with --preproxy, --proxy and --connect-to 53 </name> 54 <command> 55 ftp://ftp.example.com.%TESTNUMBER/%TESTNUMBER --connect-to ::connect.example.com.%TESTNUMBER:%FTPPORT --proxytunnel --proxy %HOSTIP:%PROXYPORT --preproxy socks5://%HOSTIP:%SOCKSPORT 56 </command> 57 </client> 58 59 # 60 # Verify data after the test has been "shot" 61 <verify> 62 <strip> 63 QUIT 64 </strip> 65 <protocol> 66 USER anonymous 67 PASS ftp@example.com 68 PWD 69 EPSV 70 TYPE I 71 SIZE %TESTNUMBER 72 RETR %TESTNUMBER 73 QUIT 74 </protocol> 75 </verify> 76 </testcase>