Debian Codegraph @

deps/curl/tests/data/test711

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