1<testcase>
2#based off test 712
3<info>
4<keywords>
5FTP
6PASV
7RETR
8HTTP
9HTTP CONNECT
10proxytunnel
11CURLOPT_CONNECT_TO
12</keywords>
13</info>
14#
15# Server-side
16<reply>
17<connect>
18HTTP/1.1 200 Connection established
19
20</connect>
21
22<data nocheck="yes">
23silly content
24</data>
25
26<datacheck>
27HTTP/1.1 200 Connection established
28
29HTTP/1.1 200 Connection established
30
31silly content
32</datacheck>
33</reply>
34
35#
36# Client-side
37<client>
38<server>
39ftp
40http-proxy
41</server>
42<features>
43http
44</features>
45 <name>
46FTP fetch with --proxy set to http:// and with --connect-to
47 </name>
48 <command>
49ftp://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>
57USER anonymous
58PASS ftp@example.com
59PWD
60EPSV
61TYPE I
62SIZE 714
63RETR 714
64QUIT
65</protocol>
66</verify>
67</testcase>
68