2007-01-23 10:25:56 +08:00
|
|
|
<testcase>
|
2012-11-16 19:42:51 +08:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
FTP
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
2005-03-15 20:33:08 +08:00
|
|
|
# Server-side
|
|
|
|
<reply>
|
2007-04-19 04:22:01 +08:00
|
|
|
<servercmd>
|
|
|
|
REPLY EPSV 229 Entering Passiv Mode (|||1000000|)
|
|
|
|
</servercmd>
|
2005-03-15 20:33:08 +08:00
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
ftp
|
|
|
|
</server>
|
|
|
|
<name>
|
2013-01-16 05:35:48 +08:00
|
|
|
FTP getting bad port in response to EPSV
|
2005-03-15 20:33:08 +08:00
|
|
|
</name>
|
|
|
|
<command>
|
|
|
|
ftp://%HOSTIP:%FTPPORT/238
|
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
2013-01-16 05:35:48 +08:00
|
|
|
# 13 = CURLE_FTP_WEIRD_PASV_REPLY
|
2005-03-15 20:33:08 +08:00
|
|
|
<errorcode>
|
2013-01-16 05:35:48 +08:00
|
|
|
13
|
2005-03-15 20:33:08 +08:00
|
|
|
</errorcode>
|
|
|
|
<protocol>
|
|
|
|
USER anonymous
|
2007-02-14 06:50:16 +08:00
|
|
|
PASS ftp@example.com
|
2005-03-15 20:33:08 +08:00
|
|
|
PWD
|
|
|
|
EPSV
|
2013-01-16 05:35:48 +08:00
|
|
|
QUIT
|
2005-03-15 20:33:08 +08:00
|
|
|
</protocol>
|
|
|
|
</verify>
|
2007-01-23 10:25:56 +08:00
|
|
|
</testcase>
|