type

TScSFTPDirectoryListEvent = procedure(Sender: TObject; const Path: string; const Handle: TScSFTPFileHandle; FileInfo: TScSFTPFileInfo; EOF: Boolean) of object;

 

property OnDirectoryList: TScSFTPDirectoryListEvent;

 

Description

The OnDirectoryList event occurs when receiving directory listing during the ReadDirectory method call. The OnDirectoryList event is generated for every name of a file or directory that was received.

 

Parameters:

Sender - the object that raised the event.
Path - the path from which the directory listing is retrieved.
Handle - a handle of this directory, that was sent to the ReadDirectory method.
FileInfo - the object that holds information on the file. Can be of the nil value if EOF is True.
EOF - determines if there are more files or directories in the specified directory. If EOF value is True, this file is the last file in this directory and it does not contain any other files. Otherwise there are more files in the directory.

 

See Also

TScSFTPFileInfo

ReadDirectory

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