2007-01-23 10:25:56 +08:00
|
|
|
<testcase>
|
2012-11-16 19:42:51 +08:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
FTP
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
2004-08-23 22:41:19 +08:00
|
|
|
# Server-side
|
|
|
|
<reply>
|
2007-01-23 10:25:56 +08:00
|
|
|
<data sendzero="yes">
|
2004-08-23 22:41:19 +08:00
|
|
|
</data>
|
|
|
|
<size>
|
|
|
|
0
|
|
|
|
</size>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
ftp
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
FTP download an empty file
|
|
|
|
</name>
|
|
|
|
<command>
|
|
|
|
ftp://%HOSTIP:%FTPPORT/182
|
|
|
|
</command>
|
2005-01-26 05:45:03 +08:00
|
|
|
</client>
|
2004-08-23 22:41:19 +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-08-23 22:41:19 +08:00
|
|
|
PWD
|
|
|
|
EPSV
|
|
|
|
TYPE I
|
|
|
|
SIZE 182
|
|
|
|
RETR 182
|
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
2007-01-23 10:25:56 +08:00
|
|
|
</testcase>
|