We're working on a user authentication extension to utilize our existing database for credential lookup. In general everything works very well but I have a question regarding how the user's home directory is set.
Say you have defined in CompleteFTP Administrator the following folder structure:
\Test - virtual folder
\Users - virtual sub-folder
\userid - Windows folder mapped to C:\FTP\userid
When the user authenticates, we set the (now obsolete) HomeDirectory property of the IAuthenticationInfo interface to "/Test/Users/userid", but this then creates a folder on the hard drive at "C:\Test\Users\userid" instead of mapping to "C:\FTP\Userid" like the folders defined in CompleteFTP admin.
The appears to be the case when we override LoadUserInfo and call base.CheckUserName in our CheckUserName method override as well.
So the questions are:
1. What are we supposed to set for Home Directory? Should it be a physical Windows path?
2. Is there a way to retrieve the list of folders that were defined in CompleteFTP admin to translate a virtual folder tree to a Windows path?
Thanks,
Bob Mc.