What I really need to know is how hosting companies set up their IIS servers, part of the code I've written opens an ftp connection to localhost and uploads some files - finding the path to ftp to is easy in Linux, I can pretty much just grab the fileowner of the path and take everything after /home/$username as the ftp path... Under Windows I won't have the luxury of having a fileowner and correlating it to a home directory.
Yeah I know, "blah blah blah, get to the point"
The question's a simple one - how are IIS servers set up in the wild? I'm assuming it's not C:\Inetpub\wwwroot\$ftp_username... or is it? can I strip just strip everything up to a directory with the same name as the user's account like in Linux? Or are the home directories and main ftp accounts called different things in Windows?
*sigh*, the more I talk about this the more I think I should just make the user enter the path, rather than trying to figure it out for them, but ease-of-use is the order of the day