TScSFTPServerReadSymbolicLinkEvent = procedure(Sender: TObject; SFTPSessionInfo: TScSFTPSessionInfo; const Path: string; out SymbolicName: string; var Error: TScSFTPError) of object;


property OnReadSymbolicLink: TScSFTPServerReadSymbolicLinkEvent;



The OnReadSymbolicLink event occurs on request from an SFTP client to read the target of a symbolic link.

You can call the DefaultReadSymbolicLink method to execute this operation or write your own implementation.



Sender - the object whose event handler is called.
SFTPSessionInfo - contains the information about the current SFTP session.
Path - the path name of the symbolic link to be read. To get an absolute file path, use the GetFullPath method.
SymbolicName - a parameter to pass the target of the link.
Error - a parameter to pass the information about an error that can arise on the operation execution.


See also


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