2007-01-23 10:25:56 +08:00
|
|
|
<testcase>
|
2004-11-26 06:21:49 +08:00
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
|
|
|
data blobb
|
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
ftp
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
Get two FTP files with no remote EPSV support
|
|
|
|
</name>
|
|
|
|
<command>
|
|
|
|
ftp://%HOSTIP:%FTPPORT/a/path/211 ftp://%HOSTIP:%FTPPORT/a/path/211
|
|
|
|
</command>
|
|
|
|
<file name="log/ftpserver.cmd">
|
|
|
|
REPLY EPSV 500 no such command
|
|
|
|
</file>
|
2004-11-30 18:20:59 +08:00
|
|
|
<stdout>
|
|
|
|
data blobb
|
|
|
|
data blobb
|
|
|
|
</stdout>
|
|
|
|
</client>
|
2004-11-26 06:21:49 +08:00
|
|
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
|
|
|
USER anonymous
|
2007-02-14 06:50:16 +08:00
|
|
|
PASS ftp@example.com
|
2004-11-26 06:21:49 +08:00
|
|
|
PWD
|
|
|
|
CWD a
|
|
|
|
CWD path
|
|
|
|
EPSV
|
|
|
|
PASV
|
|
|
|
TYPE I
|
|
|
|
SIZE 211
|
|
|
|
RETR 211
|
|
|
|
PASV
|
|
|
|
SIZE 211
|
|
|
|
RETR 211
|
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
2007-01-23 10:25:56 +08:00
|
|
|
</testcase>
|