How to save upload on second server?
Posted on 2004-10-11
I have two upload scripts. One selfmade with uploading by filesystemobject and one by using COM (ASPPW.Upload). They both work fine, until I want to save on antoher server / a network path.
I have two webservers running for load balancing and I configured IIS to load all pictures from Server A (www...). So if a user is on Server B (www2...), the virtual directory "/images" is pointing to a network path "//ServerB/inetpub/wwwroot/images/". This works fine. Uploading pictures to Server A is no problem cause pics are uploaded to local folder, but if I use the same scripts for Server B there are permission issues and I can not upload anything.
Folder images on Server A has full access for everyone, so it should work I think. The path is configured by using Server.MapPath("/images") on Server B and the path seems to be right. If I try to map the directory as drive on Server B it also does not work (Server.MapPath("I:\")).
What can I do to get the upload running? Any more information needed?