procedure ReadDirectory(const Handle: TScSFTPFileHandle);
Description
Call the ReadDirectory method to retrieve a directory listing. In order to obtain a complete directory listing, the client must call this method until the EOF property is set to True. For every received file or directory name the OnDirectoryList event is generated. If the server returns an error, the OnError event is generated.
Parameters:
• | Handle - a handle previously returned in the response to OpenDirectory. If Handle is an ordinary file handle returned by OpenFile, the server returns error. |
See Also