blob: 1e042404e2856bb3370099211f26fde7998cf4c4 [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001<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<features>
39proxy
40</features>
41<server>
42ftp
43http-proxy
44</server>
45<features>
46http
47proxy
48</features>
49 <name>
50FTP fetch with --proxy set to http:// and with --connect-to
51 </name>
52 <command>
53ftp://ftp.example.com.%TESTNUMBER/%TESTNUMBER --connect-to ::connect.example.com.%TESTNUMBER:%FTPPORT --proxytunnel --proxy http://%HOSTIP:%PROXYPORT
54</command>
55</client>
56
57#
58# Verify data after the test has been "shot"
59<verify>
60<protocol>
61USER anonymous
62PASS ftp@example.com
63PWD
64EPSV
65TYPE I
66SIZE %TESTNUMBER
67RETR %TESTNUMBER
68QUIT
69</protocol>
70</verify>
71</testcase>