xref: /curl/tests/data/test713 (revision cd4aee15)
1<testcase>
2#based off test 712
3<info>
4<keywords>
5FTP
6PASV
7RETR
8SOCKS5
9CURLOPT_CONNECT_TO
10</keywords>
11</info>
12#
13# Server-side
14<reply>
15<data>
16silly content
17</data>
18</reply>
19
20#
21# Client-side
22<client>
23<features>
24proxy
25</features>
26<server>
27ftp
28socks5
29</server>
30<name>
31FTP fetch with --proxy set to socks5:// and with --connect-to
32</name>
33<command>
34ftp://ftp.example.com/%TESTNUMBER --connect-to ::%HOSTIP:%FTPPORT --proxy socks5://%HOSTIP:%SOCKSPORT
35</command>
36</client>
37
38#
39# Verify data after the test has been "shot"
40<verify>
41<strip>
42QUIT
43</strip>
44<protocol>
45USER anonymous
46PASS ftp@example.com
47PWD
48EPSV
49TYPE I
50SIZE %TESTNUMBER
51RETR %TESTNUMBER
52QUIT
53</protocol>
54</verify>
55</testcase>
56