Imported Upstream version 7.53.1
[platform/upstream/curl.git] / tests / data / test713
1 <testcase>
2 #based off test 712
3 <info>
4 <keywords>
5 FTP
6 PASV
7 RETR
8 SOCKS5
9 CURLOPT_CONNECT_TO
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  <name>
28 FTP fetch with --proxy set to socks5:// and with --connect-to
29  </name>
30  <command>
31 ftp://ftp.example.com/713 --connect-to ::%HOSTIP:%FTPPORT --proxy socks5://%HOSTIP:%SOCKSPORT 
32 </command>
33 </client>
34
35 #
36 # Verify data after the test has been "shot"
37 <verify>
38 <protocol>
39 USER anonymous\r
40 PASS ftp@example.com\r
41 PWD\r
42 EPSV\r
43 TYPE I\r
44 SIZE 713\r
45 RETR 713\r
46 QUIT\r
47 </protocol>
48 </verify>
49 </testcase>