Topic Path: Symbol Reference > Classes > TIdFTPListItem Class > TIdFTPListItem Properties > ItemType Property
TIdFTPListItem.ItemType Property

Indicates the type of item represented by the collection entry.

property ItemType: TIdDirItemType;

ItemType is a TIdDirItemType property that indicates the type of item represented by the collection entry. 

Values in ItemType are assigned when the registered ListParserClass for the the FTP client is used to parse the content in the Data property. The values used and allowed in the ItemType property are dependent on the file system capabilities implemented on the remote FTP server in Host. In other words, not all of the enumeration values in TIdDirItemType are used and supported in every TIdFTPListBase descendant.

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