SftpServer user home dir question

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
snorkel
Posts: 384
Joined: Tue 08 Aug 2006 15:10
Location: Milwaukee WI USA

SftpServer user home dir question

Post by snorkel » Thu 25 Feb 2016 19:06

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?

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: SftpServer user home dir question

Post by ViktorV » Fri 26 Feb 2016 12:26

Yes, to set home directory for user, you should use the TScSFTPServer.OnOpen event handler.

snorkel
Posts: 384
Joined: Tue 08 Aug 2006 15:10
Location: Milwaukee WI USA

Re: SftpServer user home dir question

Post by snorkel » Sat 27 Feb 2016 15:37

Thanks, that part is working fine.

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: SftpServer user home dir question

Post by ViktorV » Wed 02 Mar 2016 15:53

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.

Post Reply