xref: /curl/tests/data/test564 (revision 3fd80c7b)
1<testcase>
2# Warning: if this test fails to start the SSH server, check that none of
3# the user's shell profiles sends output to stdout of a non-interactive shell.
4<info>
5<keywords>
6FTP
7PASV
8RETR
9multi
10SOCKS4
11</keywords>
12</info>
13# Server-side
14<reply>
15<data>
16data
17    to
18      see
19that FTP
20works
21  so does it?
22</data>
23
24</reply>
25
26# Client-side
27<client>
28<server>
29ftp
30socks4
31</server>
32<tool>
33lib%TESTNUMBER
34</tool>
35<name>
36FTP RETR a file over a SOCKS proxy using the multi interface
37</name>
38<command>
39ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER %HOSTIP:%SOCKSPORT
40</command>
41<features>
42proxy
43</features>
44</client>
45
46# Verify data after the test has been "shot"
47<verify>
48<protocol>
49USER anonymous
50PASS ftp@example.com
51PWD
52CWD path
53EPSV
54TYPE I
55SIZE %TESTNUMBER
56RETR %TESTNUMBER
57QUIT
58</protocol>
59<stdout>
60data
61    to
62      see
63that FTP
64works
65  so does it?
66</stdout>
67</verify>
68</testcase>
69