Declaration
Código Delphi
[-]
procedure List; overload;
Summary
Retrieves a list of files and directories on the FTP server.
Description
.NET Overload
List is an overloaded procedure used to request a list of files or directories in the current directory on the FTP server.
Unlike overloadeed variants of the List method, no file specifier is used and file details are always returned. List calls the overloaded List method using an Unassigned (Nil) value for the storage of the textual responses that make up the directory listing.
...
Textual responses to the FTP command are captured and
stored in the ListResult property. The value of the UsedMLS property is set to False to indicate that the MLST parser should not be used on textual values in the ListResult property.
List will clear any existing entries found in the DirectoryListing property, and free the collection used for the structured directory listing. The collection is recreated and values in the ListResult are parsed into collection items on the initial read access to the DirectoryListing property.
See Also
ListResult, DirectoryListing, List, CanUseMLS, UsedMLS, ExtListDir, TransferType
Class
TIdFTP