252c9ef0e16cd90281f23489bfa034c30d812e2d
[platform/upstream/curl.git] / tests / data / test712
1 <testcase>
2 #based off test 707 after bug report #1218
3 <info>
4 <keywords>
5 FTP
6 PASV
7 RETR
8 SOCKS5
9 </keywords>
10 </info>
11 #
12 # Server-side
13 <reply>
14 <data>
15 silly content
16 </data>
17 </reply>
18
19 #
20 # Client-side
21 <client>
22 <server>
23 ftp
24 socks5
25 </server>
26  <name>
27 FTP fetch with --proxy set to socks5://
28  </name>
29  <command>
30 ftp://%HOSTIP:%FTPPORT/712 --proxy socks5://%HOSTIP:%SOCKSPORT 
31 </command>
32 </client>
33
34 #
35 # Verify data after the test has been "shot"
36 <verify>
37 <protocol>
38 USER anonymous\r
39 PASS ftp@example.com\r
40 PWD\r
41 EPSV\r
42 TYPE I\r
43 SIZE 712\r
44 RETR 712\r
45 QUIT\r
46 </protocol>
47 </verify>
48 </testcase>