property HomePath: string;
Description
The HomePath property represents path to a root directory used by SFTP server for the current session.
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 TScSFTPServer.DefaultRootPath property. Otherwise, the root directory for the session is set as the name of the current directory.
See Also