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