Internet Direct (Indy)
Home
PreviousUpNext
TIdFTPRegParseList.CheckListParseCapa Method

Locates a registered list parser class for a specific directory listing format and parses the structured directory listing.

Pascal
function CheckListParseCapa(
    AListing: TIdStrings; 
    ADir: TIdFTPListItems; 
    var VFormat: String; 
    var VClass: TIdFTPListParseClass; 
    const ASysDescript: String = ''; 
    const ADetails: Boolean = True
): boolean; virtual;
Parameters 
Description 
AListing 
Text values representing the directory listing.
 
ADir 
Structured directory listing used to store values parsed from the textual content.
 
VFormat 
Identifier for the list parser class used in the method.
 
VClass 
Reference to the list parser class used for the method.
 
ASysDescript 
System description for the remote FTP server. Default value is ''.
 
ADetails 
Indicates if file and directory details are available in the structured directory listing. Default value is True. 

boolean - True on success.

CheckListParseCapa is a virtual Boolean function used to locate a registered list parser class for a specific directory listing and parses the structured directory listing. 

CheckListParseCapa calls the ParseListing method in the TIdFTPListParserBase class instance located for the directory listing format. 

CheckListParseCapa clears any existing entries in the ADir structured directory listing argument.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.