2007-01-23 10:25:56 +08:00
|
|
|
<testcase>
|
2012-11-16 19:42:51 +08:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
FTP
|
|
|
|
</keywords>
|
|
|
|
</info>
|
2007-04-19 04:22:01 +08:00
|
|
|
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<servercmd>
|
|
|
|
REPLY SIZE 550 access to this file is very much denied
|
|
|
|
REPLY APPE 550 I said: access to this file is very much denied
|
|
|
|
REPLY STOR 550 I said: access to this file is very much denied
|
|
|
|
</servercmd>
|
|
|
|
</reply>
|
|
|
|
|
2005-03-07 16:29:28 +08:00
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
ftp
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
FTP resume upload but denied access to remote file
|
|
|
|
</name>
|
|
|
|
<command>
|
2007-04-19 04:22:01 +08:00
|
|
|
ftp://%HOSTIP:%FTPPORT/236 -T log/file236.txt -C -
|
2005-03-07 16:29:28 +08:00
|
|
|
</command>
|
2007-04-19 04:22:01 +08:00
|
|
|
<file name="log/file236.txt">
|
|
|
|
Test data
|
2005-03-07 16:29:28 +08:00
|
|
|
</file>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
|
|
|
|
<protocol>
|
|
|
|
USER anonymous
|
2007-02-14 06:50:16 +08:00
|
|
|
PASS ftp@example.com
|
2005-03-07 16:29:28 +08:00
|
|
|
PWD
|
|
|
|
EPSV
|
|
|
|
TYPE I
|
|
|
|
SIZE 236
|
|
|
|
STOR 236
|
2006-09-22 04:52:20 +08:00
|
|
|
QUIT
|
2005-03-07 16:29:28 +08:00
|
|
|
</protocol>
|
|
|
|
|
|
|
|
# (25) Failed FTP upload: 550
|
|
|
|
<errorcode>
|
|
|
|
25
|
|
|
|
</errorcode>
|
|
|
|
</verify>
|
2007-01-23 10:25:56 +08:00
|
|
|
</testcase>
|