lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | <testcase> |
2 | #based off test 707 after bug report #1218 | ||||
3 | <info> | ||||
4 | <keywords> | ||||
5 | FTP | ||||
6 | PASV | ||||
7 | RETR | ||||
8 | SOCKS5 | ||||
9 | </keywords> | ||||
10 | </info> | ||||
11 | # | ||||
12 | # Server-side | ||||
13 | <reply> | ||||
14 | <data> | ||||
15 | silly content | ||||
16 | </data> | ||||
17 | </reply> | ||||
18 | |||||
19 | # | ||||
20 | # Client-side | ||||
21 | <client> | ||||
22 | <server> | ||||
23 | ftp | ||||
24 | socks5 | ||||
25 | </server> | ||||
26 | <name> | ||||
27 | FTP fetch with --proxy set to socks5:// | ||||
28 | </name> | ||||
29 | <command> | ||||
30 | ftp://%HOSTIP:%FTPPORT/712 --proxy socks5://%HOSTIP:%SOCKSPORT | ||||
31 | </command> | ||||
32 | </client> | ||||
33 | |||||
34 | # | ||||
35 | # Verify data after the test has been "shot" | ||||
36 | <verify> | ||||
37 | <protocol> | ||||
38 | USER anonymous | ||||
39 | PASS ftp@example.com | ||||
40 | PWD | ||||
41 | EPSV | ||||
42 | TYPE I | ||||
43 | SIZE 712 | ||||
44 | RETR 712 | ||||
45 | QUIT | ||||
46 | </protocol> | ||||
47 | </verify> | ||||
48 | </testcase> |