How can I force an image download with IE using ASP.net??
Here is the catch: the image I want to force a write with
is located on another web server. I can only reference the
image with a URL.
If the image is on my machine, I use the
response.wrifef ile method. After setting up my headers I
can force an image download. However, I can't get this to
work if I reference the image via a url.
Example: strPath = "http://www.site.com/image.jpg"
response.writef ile(strpath) generates an error.
Is there another method that can write an image to the
browser using a URL reference?
Here is the catch: the image I want to force a write with
is located on another web server. I can only reference the
image with a URL.
If the image is on my machine, I use the
response.wrifef ile method. After setting up my headers I
can force an image download. However, I can't get this to
work if I reference the image via a url.
Example: strPath = "http://www.site.com/image.jpg"
response.writef ile(strpath) generates an error.
Is there another method that can write an image to the
browser using a URL reference?