| 1 |
# Client-side |
| 2 |
<client> |
| 3 |
<server> |
| 4 |
ftp |
| 5 |
</server> |
| 6 |
<name> |
| 7 |
FTP resume upload but denied access to remote file |
| 8 |
</name> |
| 9 |
<command> |
| 10 |
ftp://%HOSTIP:%FTPPORT/236 -T log/ftpserver.cmd -C - |
| 11 |
</command> |
| 12 |
<file name="log/ftpserver.cmd"> |
| 13 |
REPLY SIZE 550 access to this file is very much denied |
| 14 |
REPLY APPE 550 I said: access to this file is very much denied |
| 15 |
REPLY STOR 550 I said: access to this file is very much denied |
| 16 |
</file> |
| 17 |
</client> |
| 18 |
|
| 19 |
# Verify data after the test has been "shot" |
| 20 |
<verify> |
| 21 |
|
| 22 |
<protocol> |
| 23 |
USER anonymous |
| 24 |
PASS [email protected] |
| 25 |
PWD |
| 26 |
EPSV |
| 27 |
TYPE I |
| 28 |
SIZE 236 |
| 29 |
STOR 236 |
| 30 |
</protocol> |
| 31 |
|
| 32 |
# (25) Failed FTP upload: 550 |
| 33 |
<errorcode> |
| 34 |
25 |
| 35 |
</errorcode> |
| 36 |
</verify> |