xref: /curl/tests/data/test714 (revision cd4aee15)
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<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<strip>
61QUIT
62</strip>
63<protocol>
64USER anonymous
65PASS ftp@example.com
66PWD
67EPSV
68TYPE I
69SIZE %TESTNUMBER
70RETR %TESTNUMBER
71QUIT
72</protocol>
73</verify>
74</testcase>
75