Imported Upstream version 7.59.0
[platform/upstream/curl.git] / tests / data / test711
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 </reply>
19
20 #
21 # Client-side
22 <client>
23 <server>
24 ftp
25 socks5
26 </server>
27 <setenv>
28 all_proxy=socks5://%HOSTIP:%SOCKSPORT 
29 </setenv>
30  <name>
31 FTP fetch with all_proxy set to socks5
32  </name>
33  <command>
34 ftp://%HOSTIP:%FTPPORT/711
35 </command>
36 </client>
37
38 #
39 # Verify data after the test has been "shot"
40 <verify>
41 <protocol>
42 USER anonymous
43 PASS ftp@example.com
44 PWD
45 EPSV
46 TYPE I
47 SIZE 711
48 RETR 711
49 QUIT
50 </protocol>
51 </verify>
52 </testcase>