I have a Dlink internet camera, and I would like to publish a static image from the camera on my website. I would prefer not to open a new port to access the image. Is there an easy way to publish the picture using a server script? I was thinking the server script could grab the image and then send it out.

My server is running IIS, so I tried playing around with asp files. I started with a windows function called URLDownloadToFile. I was thinking of saving the image to the server's hard drive and then displaying the image. The function returns OK, but the file never gets saved. There may be a file system permission problem going on, but I'm not certain.

I also tried using a perl module called LWP::Useragent, but since I don't know perl very well I never got it to work.

Any info would be appreciated, thanks.