-
-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom root folders for users #74
Comments
Implement |
Thank you for your clarifications. But unfortunatelly, it looks like GetDirectories of IAccountDirectoryQuery is setting the relative path starting from the root path. Is there a way to override the root path completly for the user? For example, map users to folders on different drives. |
The root path returned by |
For example, this set up will not change the drive to "C:" for the user, but will create a sub folders in D:\ drive like "d:\Temp\ftpserver\Temp\ftpserver":
|
Umm, no. The Users root directory will be So, if your code returns |
I am wondering if this is correct configuration to use
and in startup:
However, if I set a breakpoint in I am really confused about how to configure the option so when the user is connecting its root directory is set to "Upload/userName" and when the Administrator connects root is set to a directory above Upload. |
That the breakpoint doesn't get called means that |
@fubar-coder Thank you, |
Is there a way to define flexible root folders on the level of users?
I found a way to use root folder per user with UseRootPerUser() but is is not providing enough flexiibilty for my case.
The text was updated successfully, but these errors were encountered: