Internet Direct (Indy)
|
Implements support for the FTP MLST extension command.
procedure ExtListItem( ADest: TIdStrings; const AItem: string = '' ); overload;
Parameters |
Description |
ADest |
Storage for text values returned from the MLST command. |
AItem |
Named item to be be returned in the directory listing. |
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.
The MLST response does not include any title, header, or summary lines, or any other formatting, and conforms to the facts indicated in the Capabilities for the FTP server.
Use ExtListDir to get a directory listing for a file or directory using the FTP MLSD command.
ExtListItem
IdFTPListParseBase.ParseListing
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. |