procedure DefaultGetFullPath(SFTPSessionInfo: TScSFTPSessionInfo; var Path: string);

 

Description

Call the DefaultGetFullPath method to canonize the given path name to the absolute canonical one. DefaultGetFullPath converts path name containing ".." components or relative path name without a leading slash into the absolute path.

To get an absolute path from a relative one, the SFTPSessionInfo.HomePath property value is added at the beginning of the relative path.

 

Parameters:

SFTPSessionInfo - contains the information about the current SFTP session.
Path - original path which should be resolved into the absolute canonical path.

 

See also

OnGetFullPath

TScSFTPSessionInfo.HomePath

DefaultRootPath

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