2013-04-26 22:45:31 +08:00
|
|
|
<testcase>
|
|
|
|
#based off test 707 after bug report #1218
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
FTP
|
|
|
|
PASV
|
|
|
|
RETR
|
|
|
|
SOCKS5
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
|
|
|
silly content
|
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
2022-03-09 17:00:21 +08:00
|
|
|
<features>
|
|
|
|
proxy
|
|
|
|
</features>
|
2013-04-26 22:45:31 +08:00
|
|
|
<server>
|
|
|
|
ftp
|
|
|
|
socks5
|
|
|
|
</server>
|
2023-10-04 17:35:54 +08:00
|
|
|
<name>
|
2013-04-26 22:45:31 +08:00
|
|
|
FTP fetch with --proxy set to socks5://
|
2023-10-04 17:35:54 +08:00
|
|
|
</name>
|
|
|
|
<command>
|
2023-08-31 21:28:49 +08:00
|
|
|
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --proxy socks5://%HOSTIP:%SOCKSPORT
|
2013-04-26 22:45:31 +08:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
|
|
|
USER anonymous
|
|
|
|
PASS ftp@example.com
|
|
|
|
PWD
|
|
|
|
EPSV
|
|
|
|
TYPE I
|
2021-03-13 00:38:26 +08:00
|
|
|
SIZE %TESTNUMBER
|
|
|
|
RETR %TESTNUMBER
|
2013-04-26 22:45:31 +08:00
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|