Indy 9
|
TOnFileEvent = procedure (ASender: TIdFTPServerThread; const APathName: string) of object;
ASender is the thread client connection generating the event notification. AFilename is the file on the local file system to be removed.
TOnFileEvent is the event type signalled to the TIdFTPServer.OnDeleteFile event handler during execution of the command event handler for the FTP DELE command verb. The FTP server implementation must assign a procedure to the event handler to allow responding to the event notification.
Note: The event handler is responsible for calling the Operating System and platform-specific API function(s) needed to physically remove the file indicated in AFilename.