list_directory Method
List the current directory specified by RemotePath on an SFTP server.
Syntax
def list_directory() -> None: ...
Remarks
A listing is requested for the directory (or file mask) specified in remote_file. remote_file is either an absolute path on the server, or a path relative to remote_path. The file listing is received through the on_dir_list event.
If there is no SSH session in place, one is automatically created by the component first.