Opens existing directory on a server side for reading.
Use this method to open existing directory on a server side for reading.
After you have finished using the directory, close the handle with a call to CloseHandle() method.
In case of error, EElSFTPError exception containing SFTP error code, is raised. For more information on error handling, please read the corresponding how-to article.