I have 2 asp.net sites (site1 and site2). site1 have a directory inside in called images. In images directory there are images. I need to upload files using site2 aspx page, but need to upload them to images folder of site1. how can I do that?
+1
A:
If you cannot write directly to the folder or the sites are on different servers then best option is to upload the file to site 1 then use WebClient
object to upload file to site 2. More details on how to use web-request to upload and download files can be found here.
TheVillageIdiot
2010-07-04 14:18:11