2001-09-14 20:03:33 +08:00
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
2003-05-01 04:25:39 +08:00
|
|
|
<server>
|
|
|
|
ftp
|
|
|
|
</server>
|
2001-09-14 20:03:33 +08:00
|
|
|
<name>
|
|
|
|
FTP download, failed RETR with PORT
|
|
|
|
</name>
|
|
|
|
<command>
|
|
|
|
ftp://%HOSTIP:%FTPPORT/119 -P -
|
|
|
|
</command>
|
|
|
|
<file name="log/ftpserver.cmd">
|
|
|
|
REPLY RETR 314 bluah you f00l!
|
|
|
|
</file>
|
|
|
|
</test>
|
|
|
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<errorcode>
|
|
|
|
19
|
|
|
|
</errorcode>
|
|
|
|
<strip>
|
|
|
|
^PORT.*
|
2001-09-23 20:46:04 +08:00
|
|
|
^EPRT .*
|
|
|
|
^LPRT .*
|
2001-09-14 20:03:33 +08:00
|
|
|
</strip>
|
|
|
|
<protocol>
|
|
|
|
USER anonymous
|
|
|
|
PASS curl_by_daniel@haxx.se
|
|
|
|
PWD
|
|
|
|
TYPE I
|
2001-11-28 21:45:50 +08:00
|
|
|
SIZE 119
|
2001-09-14 20:03:33 +08:00
|
|
|
RETR 119
|
2004-02-27 15:08:37 +08:00
|
|
|
QUIT
|
2001-09-14 20:03:33 +08:00
|
|
|
</protocol>
|
|
|
|
</verify>
|