blob: 8c94a9cc12adb2f093ad8073ea0d378ca50f3f49 [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001<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<protocol>
42USER anonymous
43PASS ftp@example.com
44PWD
45EPSV
46TYPE I
47SIZE %TESTNUMBER
48RETR %TESTNUMBER
49QUIT
50</protocol>
51</verify>
52</testcase>