Well. i’m really sorry for the fact that this question is easily testable, but i need to plan this for tomorrow and i don’t have the means to test it now. I’m willing to lose the reputation if you are willing to help me out.
Scenario: i got
-iis wwwroot
– domainfolder (DynamicWeb Instalation)
– destinationfolder
– subdomain folder
default.aspx
I need to know if i can make a fileupload in my Default.aspx, and do something like:
fileUpload.SaveAs(Server.MapPath("../domainfolder/destinationfolder/") + filename)
keep in mind that I will have full access to the windows server where the sites are hosted.
Your IIS worker user needs write permissions on the target directory, and AspEnableParentPaths needs to be set to “true”, but other than that it should just work.