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