Page 1 of 1

SftpServer user home dir question

Posted: Thu 25 Feb 2016 19:06
by snorkel
Hi,
where should the users homedir be set?

I see for instance in the OpenDirectory event there is a SFTPSessionInfo object that has a
homepath property.
I didn't see anyway to set it in the userlogon event.

or would the best place be in the onopen event?

Re: SftpServer user home dir question

Posted: Fri 26 Feb 2016 12:26
by ViktorV
Yes, to set home directory for user, you should use the TScSFTPServer.OnOpen event handler.

Re: SftpServer user home dir question

Posted: Sat 27 Feb 2016 15:37
by snorkel
Thanks, that part is working fine.

Re: SftpServer user home dir question

Posted: Wed 02 Mar 2016 15:53
by ViktorV
If you have any questions during using our products, please don't hesitate to contact us - and we will try to help you solve them.