Internet Direct (Indy) Version 9.0.1 Beta
TIdFTPServer.OnRemoveDirectory
Allows the server to remove a directory in the server file system.

property OnRemoveDirectory: TOnDirectoryEvent;
Description
OnRemoveDirectory is a TOnDirectoryEvent property that represents the event handler signalled when an FTP server needs to remove a directory from the server file system. OnRemoveDirectory is triggered in the command event handler for the FTP RMD command verb.

OnRemoveDirectory allows the server to perform the platform-specific API calls need to removed the resolved file directory path specified in ADirectory.

An FTP server implementation must assign a procedure to the event handler to allow responding to the event notification.