Provides list of files and subdirectories in the current directory.
Use this method to get the contents of the current directory.
The method executes MLSD command of FTP protocol. MLSD command is similar to LIST, but returns the information in standard machine-parsable format.
Note, that not all servers support MLSD command (which is an extension of the standard). To check if the command is supported, inspect the value of ExtMLSTSupported property.
During execution of this method the OnTextDataLine event is fired for each line of received reply. Overloaded methods return the listing via ResultList parameter, which can be a list of unparsed response line (the same as in OnTextDataLine event) or a list of TElFTPFileInfo objects.
For a high-level listing method with advanced capabilities see ListDirectory.