Discuss this help topic in SecureBlackbox Forum
TElSimpleFTPSClient.ListDirectory
Lists the remote directory contents.
Declaration
Parameters
Description
Use this method to list remote directory contents. This is a high-level method which choses the best listing command (MLSD is used, when available), changes working directory if needed (current directory is restored after the listing is obtained) and performs filtration of results.
The method fills in the array specified by the Listing parameter with a list of TElFTPFileInfo objects.
ListDirectory should be called once per enumeration, it returns the complete directory contents.
Files are chosen by the mask which can be a simple mask, a set of masks, or a regular expression (read more about masks).
Since SecureBlackbox version 13, file masks in group operations support expressions.