summaryrefslogtreecommitdiff
path: root/tests/data/test711
blob: 3efbb797719ea7c39dea47bbff74eb4cbae0139c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<testcase>
#based off test 707 after bug report #1218
<info>
<keywords>
FTP
PASV
RETR
SOCKS5
all_proxy
</keywords>
</info>
#
# Server-side
<reply>
<data>
silly content
</data>
<servercmd>
</servercmd>
</reply>

#
# Client-side
<client>
<server>
ftp
socks5
</server>
<setenv>
all_proxy=socks5://%HOSTIP:%SOCKSPORT
</setenv>
 <name>
FTP fetch with all_proxy set to socks5
 </name>
 <command>
ftp://%HOSTIP:%FTPPORT/711
</command>
</client>

#
# Verify data after the test has been "shot"
<verify>
<protocol>
USER anonymous
PASS ftp@example.com
PWD
EPSV
TYPE I
SIZE 711
RETR 711
QUIT
</protocol>
</verify>
</testcase>