2007-01-22 21:25:56 -05:00
|
|
|
<testcase>
|
2012-11-16 06:42:51 -05:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
FTP
|
|
|
|
</keywords>
|
|
|
|
</info>
|
2007-04-18 16:22:01 -04: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 03:29:28 -05:00
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
ftp
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
FTP resume upload but denied access to remote file
|
|
|
|
</name>
|
|
|
|
<command>
|
2007-04-18 16:22:01 -04:00
|
|
|
ftp://%HOSTIP:%FTPPORT/236 -T log/file236.txt -C -
|
2005-03-07 03:29:28 -05:00
|
|
|
</command>
|
2007-04-18 16:22:01 -04:00
|
|
|
<file name="log/file236.txt">
|
|
|
|
Test data
|
2005-03-07 03:29:28 -05:00
|
|
|
</file>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
|
|
|
|
<protocol>
|
|
|
|
USER anonymous
|
2007-02-13 17:50:16 -05:00
|
|
|
PASS ftp@example.com
|
2005-03-07 03:29:28 -05:00
|
|
|
PWD
|
|
|
|
EPSV
|
|
|
|
TYPE I
|
|
|
|
SIZE 236
|
|
|
|
STOR 236
|
2006-09-21 16:52:20 -04:00
|
|
|
QUIT
|
2005-03-07 03:29:28 -05:00
|
|
|
</protocol>
|
|
|
|
|
|
|
|
# (25) Failed FTP upload: 550
|
|
|
|
<errorcode>
|
|
|
|
25
|
|
|
|
</errorcode>
|
|
|
|
</verify>
|
2007-01-22 21:25:56 -05:00
|
|
|
</testcase>
|