TScSFTPOpenFileEvent = procedure(Sender: TObject; const FileName: string; const Handle: TScSFTPFileHandle) of object;


property OnOpenFile: TScSFTPOpenFileEvent;



The OnOpenFile event occurs when opening file or directory when executing OpenFile or OpenDirectory methods.



Sender - the object that raised the event.
FileName - the name of the file or directory that is being opened.
Handle - the file handle that was received from the server for the file or directory that is being opened. This handle may be used in other operations like ReadFile, WriteFile etc.


See Also



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