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

EOF

OnDirectoryList

OnError

OpenDirectory

ReadDirectoryToList

 

SecureBridge Components, Copyright © 2007-2024 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support