tizen 2.3.1 release
[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 564\r
51 RETR 564\r
52 QUIT\r
53 </protocol>
54 <stdout>
55 data
56     to
57       see
58 that FTP
59 works
60   so does it?
61 </stdout>
62 </verify>
63 </testcase>