list_dir Method
Lists the remote directory contents.
Syntax
def list_dir(url: str, include_files: bool, include_directories: bool) -> str: ...
Remarks
Use the IncludeFiles and IncludeDirectories parameters to specify the types of entries you would like to list.
This method returns an uninterpreted string of the listing results. Besides, it fires the on_list_entry event for each entry received, populating the entry in current_list_entry before calling the event.