type

TScSFTPFileAttributesEvent = procedure(Sender: TObject; const FileName: string; const Handle: TScSFTPFileHandle; FileAttributes: TScSFTPFileAttributes) of object;

 

property OnFileAttributes: TScSFTPFileAttributesEvent;

 

Description

The OnFileAttributes event occurs when requesting file attributes during the RetrieveAttributes or RetrieveAttributesByHandle method call.

 

Parameters:

Sender - the object that raised the event.
FileName - the name of the file for which attributes are returned.
Handle - a file handle for this file. Handle is set only if the RetrieveAttributesByHandle method is called. Otherwise it has nil value.
FileAttributes - the object that holds the attributes of the requested file.

 

See Also

TScSFTPFileAttributes

RetrieveAttributes

RetrieveAttributesByHandle

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