Git init
[external/curl.git] / tests / data / test564
1 <testcase>
2 <info>
3 <keywords>
4 FTP
5 PASV
6 RETR
7 multi
8 SOCKS4
9 </keywords>
10 </info>
11 # Server-side
12 <reply>
13 <data>
14 data
15     to
16       see
17 that FTP
18 works
19   so does it?
20 </data>
21
22 </reply>
23
24 # Client-side
25 <client>
26 <server>
27 ftp
28 socks4
29 </server>
30 <tool>
31 lib564
32 </tool>
33  <name>
34 FTP RETR a file over a SOCKS proxy using the multi interface
35  </name>
36 <command>
37 ftp://%HOSTIP:%FTPPORT/path/564 %HOSTIP:%SOCKSPORT
38 </command>
39 </client>
40
41 # Verify data after the test has been "shot"
42 <verify>
43 <protocol>
44 USER anonymous\r
45 PASS ftp@example.com\r
46 PWD\r
47 CWD path\r
48 EPSV\r
49 TYPE I\r
50 SIZE 546\r
51 RETR 546\r
52 EPSV\r
53 SIZE 546\r
54 RETR 546\r
55 QUIT\r
56 </protocol>
57 <stdout>
58 data
59     to
60       see
61 that FTP
62 works
63   so does it?
64 </stdout>
65 </verify>
66 </testcase>