Author: nicklibee | Posted on: 1/30/2010 3:50:16 AM | Views : 274

 Hello All,
How do i store same file into multiple servers?
My scenario is explained below
Administrator module resides in production server ( "cccc" domain) which is accessible only within my company.
Common module resides in DMZ and can be accessed by internet users.
I have written a program to upload a .xls file to both the servers. My program is in administrator module and resides in cccc domain. I could upload the file to the server in my company but i cant upload it in DMZ.
Following is the code to upload to ccc domain
FileInput.PostedFile.SaveAs(Server.MapPath("..\TU\" & ServerFileName))
Followins is the code to upload to dmz
FileInput.PostedFile.SaveAs("http://grt ...

Go to the complete details ...