property DefaultRootPath: string;

 

Description

The DefaultRootPath property represents a path to the root directory used by SFTP server by default.

 

When opening a new SFTP session, the following order of setting a root directory for the session is used:

At first, the TScUser.HomePath property value of the current user is checked. If this field is not empty, its value is taken. If it is empty, then the root directory for the session is set from the DefaultRootPath property. Otherwise, the root directory for the session is set as the name of the current directory.

 

See Also

TScUser.HomePath

TScSFTPSessionInfo.HomePath

 

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