list_dir Method
Lists the content of the current remote directory.
Syntax
def list_dir(include_files: bool, include_directories: bool) -> str: ...
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 on_list_entry event.