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