• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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>
33lib564
34</tool>
35 <name>
36FTP RETR a file over a SOCKS proxy using the multi interface
37 </name>
38<command>
39ftp://%HOSTIP:%FTPPORT/path/564 %HOSTIP:%SOCKSPORT
40</command>
41</client>
42
43# Verify data after the test has been "shot"
44<verify>
45<protocol>
46USER anonymous
47PASS ftp@example.com
48PWD
49CWD path
50EPSV
51TYPE I
52SIZE 564
53RETR 564
54QUIT
55</protocol>
56<stdout>
57data
58    to
59      see
60that FTP
61works
62  so does it?
63</stdout>
64</verify>
65</testcase>
66