ListDirectory Method
List the current directory specified by RemotePath on an SFTP server.
Syntax
procedure ListDirectory();Remarks
A listing is requested for the directory (or file mask) specified in RemoteFile. RemoteFile is either an absolute path on the server, or a path relative to RemotePath. The file listing is received through the DirList event.
If there is no SSH session in place, one is automatically created by first.