• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
44proxy
45</features>
46 <name>
47FTP fetch with --proxy set to http:// and with --connect-to
48 </name>
49 <command>
50ftp://ftp.example.com.714/714 --connect-to ::connect.example.com.714:%FTPPORT --proxytunnel --proxy http://%HOSTIP:%PROXYPORT
51</command>
52</client>
53
54#
55# Verify data after the test has been "shot"
56<verify>
57<protocol>
58USER anonymous
59PASS ftp@example.com
60PWD
61EPSV
62TYPE I
63SIZE 714
64RETR 714
65QUIT
66</protocol>
67</verify>
68</testcase>
69