• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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<protocol>
47USER anonymous
48PASS ftp@example.com
49PWD
50EPSV
51TYPE I
52SIZE %TESTNUMBER
53RETR %TESTNUMBER
54QUIT
55</protocol>
56</verify>
57</testcase>
58