Returns a list of files in current or specified directory.
Use this method to get list of files in current or specified directory. The method executes LIST command of FTP protocol.
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.