2009-02-19 21:47:06 +08:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
FTP
|
|
|
|
PASV
|
|
|
|
RETR
|
|
|
|
FAILURE
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<servercmd>
|
|
|
|
REPLY RETR 550 no such file!
|
2020-09-13 00:27:08 +08:00
|
|
|
REPLY SIZE 500 command not understood
|
2009-02-19 21:47:06 +08:00
|
|
|
</servercmd>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
ftp
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
Two FTP downloads, with failed RETR but re-used control connection
|
|
|
|
</name>
|
|
|
|
<command>
|
2021-03-13 00:38:26 +08:00
|
|
|
ftp://%HOSTIP:%FTPPORT/dir/%TESTNUMBER ftp://%HOSTIP:%FTPPORT/dir/%TESTNUMBER
|
2009-02-19 21:47:06 +08:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<errorcode>
|
|
|
|
78
|
|
|
|
</errorcode>
|
|
|
|
<protocol>
|
|
|
|
USER anonymous
|
|
|
|
PASS ftp@example.com
|
|
|
|
PWD
|
|
|
|
CWD dir
|
|
|
|
EPSV
|
|
|
|
TYPE I
|
2021-03-13 00:38:26 +08:00
|
|
|
SIZE %TESTNUMBER
|
|
|
|
RETR %TESTNUMBER
|
2009-02-19 21:47:06 +08:00
|
|
|
EPSV
|
2021-03-13 00:38:26 +08:00
|
|
|
SIZE %TESTNUMBER
|
|
|
|
RETR %TESTNUMBER
|
2009-02-19 21:47:06 +08:00
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|