|Subject:||Re: IdFTPServer: Checking permissions in DELE, MKD etc. and replying with an error code|
|Posted by:||Remy Lebeau \(TeamB\) (email@example.com)|
|Date:||Tue, 8 Apr 2008|
"Frank Zavelberg" <loc22…@tianet.ath.cx> wrote in message
> I'd like to perform permission checks in e.g. the DELE
> command (is user xyz allowed to delete file abc), but it
> seems there is no "permission granted, file deleted" reply
> parameter in the OnDeleteFile event.
Raise an Exception. The Message you specify for it will be passed back to
the client as a 550 reply.
IdFTPServer: Checking permissions in DELE, MKD etc. and replying with an error code posted by Frank Zavelberg on Tue, 08 Apr 2008