listDir (method)
Lists the content of the current remote directory.
Syntax
- (NSString*)listDir:(BOOL)includeFiles :(BOOL)includeDirectories;
public func listDir(_ includeFiles: Bool, _ includeDirectories: Bool) throws -> String
Remarks
IncludeFiles specifies whether file names and symlinks should be included in the results. IncludeDirectories specifies whether directory names should be included in the result.
Upon receiving the listing, the component will report each entry in it via ListEntry event.