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