Re: ftpServer component in .NET (General questions)
Hi,
Regarding 1., and 2., you can do this simply by setting HomeDir, available in User object. Probably the most appropriate place for this would be Connected or LoginPassword event/notification.
You can do something as simple as this:
[code]User.HomeDir = @ C:someFolder [/code]
As for the last question, you should use events/notifications and set Allow property to Deny for actions that aren't allowed. You should have RelativePath and ResolvedPath which should allow you to verify what folder is being accessed.
Hope this helps.
Regards,
Damba
Complete thread:
- ftpServer component in .NET - User, 2008-06-09, 22:31
- Re: ftpServer component in .NET - wodDamir, 2008-06-09, 22:38
- Re: ftpServer component in .NET - user, 2008-06-10, 03:53
- Re: ftpServer component in .NET - user, 2008-06-10, 04:00
- Re: ftpServer component in .NET - wodDamir, 2008-06-10, 08:56
- Re: ftpServer component in .NET - user, 2008-06-10, 04:00
- Re: ftpServer component in .NET - user, 2008-06-10, 03:53
- Re: ftpServer component in .NET - wodDamir, 2008-06-09, 22:38