Internet Direct (Indy) Version 9.0.2 Beta
TIdFTPServer.OnMakeDirectory
Allows the server to remove a directory from the server file system.

property OnMakeDirectory: TOnDirectoryEvent;
Description
OnMakeDirectory is a TOnDirectoryEvent property that represents the event handler signalled when an FTP server needs to create a new directory in the server file system. OnMakeDirectory is triggered when the command event handler for the FTP MKD command verb is executed.

OnMakeDirectory allows the FTP server to perform the platform-specific API calls needed to create the resolved directory path in ADirectory on the server file system.

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

Use OnRemoveDirectory to implement removal of a directory on the server file system.