2007-01-23 03:25:56 +01:00
|
|
|
<testcase>
|
2005-03-15 13:33:08 +01:00
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
ftp
|
|
|
|
</server>
|
|
|
|
<name>
|
2006-01-24 15:40:43 +01:00
|
|
|
FTP getting bad port in response to EPSV and in response to PASV
|
2005-03-15 13:33:08 +01:00
|
|
|
</name>
|
|
|
|
<command>
|
|
|
|
ftp://%HOSTIP:%FTPPORT/238
|
|
|
|
</command>
|
|
|
|
<file name="log/ftpserver.cmd">
|
|
|
|
REPLY EPSV 229 Entering Passiv Mode (|||1000000|)
|
2006-01-24 15:40:43 +01:00
|
|
|
REPLY PASV 227 Entering Passiv Mode (1216,256,2,127,127,127)
|
2005-03-15 13:33:08 +01:00
|
|
|
</file>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
2006-01-24 15:40:43 +01:00
|
|
|
# curl: (15) Can't resolve new host 1216.256.2.127:32639
|
|
|
|
# 15 => CURLE_FTP_CANT_GET_HOST
|
|
|
|
# some systems just don't fail on the illegal host name/address but instead
|
|
|
|
# moves on and attempt to connect to... yes, to what?
|
|
|
|
# 7= CURLE_COULDNT_CONNECT
|
2005-03-15 13:33:08 +01:00
|
|
|
<errorcode>
|
2006-01-24 15:40:43 +01:00
|
|
|
7, 15
|
2005-03-15 13:33:08 +01:00
|
|
|
</errorcode>
|
|
|
|
<protocol>
|
|
|
|
USER anonymous
|
2007-02-13 23:50:16 +01:00
|
|
|
PASS ftp@example.com
|
2005-03-15 13:33:08 +01:00
|
|
|
PWD
|
|
|
|
EPSV
|
2006-01-24 15:40:43 +01:00
|
|
|
PASV
|
2005-03-15 13:33:08 +01:00
|
|
|
</protocol>
|
|
|
|
</verify>
|
2007-01-23 03:25:56 +01:00
|
|
|
</testcase>
|