Discuss this help topic in SecureBlackbox Forum
Reads the part of directory contents
Declaration
Parameters
Return value
True if operation was completed successfully;
False otherwise.
Description
Use this method to read a part of directory contents from opened
directory.
Do not pass as
Handle the handle to opened file.
If the part of directory contents was successfully read, the
OnDirectoryListing
event is fired. The
OnError event is
fired otherwise.
The client should call ReadDirectory repeatedly until it has found the
file it is looking for or until the
OnError
event is fired. The client should then close the handle using the
CloseHandle method.
If there are no more entries to return, OnError event is fired with error code SSH_ERROR_EOF.