type

TScSFTPFileNameEvent = procedure(Sender: TObject; const SrcFileName, DestFileName: string) of object;

 

property OnFileName: TScSFTPFileNameEvent;

 

Description

The OnFileName event occurs during the call to the ReadSymbolicLink, RetrieveAbsolutePath, or QueryUserHomeDirectory method.

If the ReadSymbolicLink method was called, the SrcFileName parameter holds the name of the symbolic link, and the DestFileName parameter holds the target of this symbolic link.

During the RetrieveAbsolutePath method call SrcFileName holds the original path and DestFileName holds the absolute path.

During the QueryUserHomeDirectory method call SrcFileName holds the specified user name, and DestFileName - home directory for this user name.

 

See Also

ReadSymbolicLink

RetrieveAbsolutePath

QueryUserHomeDirectory

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