xref: /curl/tests/data/test564 (revision cd4aee15)
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<strip>
49QUIT
50</strip>
51<protocol>
52USER anonymous
53PASS ftp@example.com
54PWD
55CWD path
56EPSV
57TYPE I
58SIZE %TESTNUMBER
59RETR %TESTNUMBER
60QUIT
61</protocol>
62<stdout>
63data
64    to
65      see
66that FTP
67works
68  so does it?
69</stdout>
70</verify>
71</testcase>
72