Indy 9
TOnDirectoryEvent
Unit: IdFTPServer
Event signalled when directory-related FTP commands are performed.
TOnDirectoryEvent = procedure (ASender: TIdFTPServerThread; var VDirectory: string) of object;
Unit
IdFTPServer
Parameters
ADirectory
File system path to be used for the directory-related command.
ASender
Client connection generating the event.
Description
TOnDirectoryEvent is an event type signalled when the FTP server performs commands from a client that affect the directory structure for the threaded client connection. TOnDirectoryEvent are used when COmmand Handlers for the FTP client connection perform the CWD, CDUP, MKD, or RMD command verbs.

TOnDirectoryEvent is the event signalled to the TIdFTPServer.OnChangeDirectory, TIdFTPServer.OnMakeDirectory, and TIdFTPServer.OnRemoveDirectory event handlers. An FTP server implementation must assign a procedure to the event handlers to allow responding to the event notifications.


Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.