Topic Path: Symbol Reference > Classes > TIdFTP Class > TIdFTP Properties > OnRetrievedDir Property
TIdFTP.OnRetrievedDir Property

Event handler signalled when text for a directory listing has been retrieved from the FTP server.

property OnRetrievedDir: TIdNotifyEvent;

OnRetrievedDir is a TNotifyEvent property that represents the event handler signalled when the text for a directory listing has been retrieved in a response from the FTP server. 

OnRetrievedDir is triggered in the List and ExtListDir methods, and allows the applications to be notified when the contents of the ListResult property have been updated with the values from the FTP server response. Applications must assign a procedure to the event handler to allow responding to the event notification. 

Use OnDirParseStart and OnDirParseEnd to respond to notifications occurring prior to and following parsing of values in ListResult into collection items in the DirectoryListing collection. 

Use DirectoryListing to access the structured directory listing created using the ListParserClass instance for the detected directory listing format.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.