Page 1 of 1

A question for windows users...

Posted: Sat Jul 17, 2004 1:36 pm
by Kydosan
I'm in the process of porting a script to windows, but I don't have, and never have had a windows hosting account - I've put IIS on my girlfriend's PC but that's not qute the same :)

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" :D

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 :)

Posted: Sat Jul 17, 2004 8:20 pm
by feyd
from what I remember, it's entirely optional whether there are home directories. They can be set to anything accessable to the server..

I'd go for: enter the path please. :D