Situation:
I working on image gallery type application where i have two different servers. One that will hold the image files(CDN or File Server can say) only. Another will have the web pages that will access those images.
For example
Site is hosted on http://www.abc.com and Images are uploaded under directory on http://www.imageserver.com/uploads/images/. Assuming I have full access to both of them and also granted read/write permission to the Images directory.
Problem:
When I use FileUpload.SaveAs from my localhost {while development}, it throws an exception saying somthing similar to:
The declared path is not rooted and SaveAs requires rooted path.
Please help. Thanks in Advance