Implements support for the FTP MLST extension command.
procedure ExtListItem( ADest: TIdStrings; const AItem: string = '' ); overload;
ExtListItem is an overloaded procedure used to implement support for the FTP MLST extension command for servers supported the capability. The MLST command provides a defined format for directories and files appearing on the remote file system.
ExtListItem stores the textual response for the MLST command in the ADest argument. Existing values in the ADest parameter are cleared prior to executing the FTP MLST command using AItem as an argument. Values captured in LastCmdResult are added to the ADest parameter when one or more semicolon-delimited facts are found in the textual response lines.
AItem represents the file entry requested for the listing operation. AItem cannot contain a directory name. When AItem contains an empty string, the textual response contains only facts for the currently selected non-root directory.
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.