Download dynamic image

  • Thread starter Thread starter GregS
  • Start date Start date
G

GregS

I'm not sure where to post this. I want to automate
downloading a image from a web page (the file is
dynamically created by an ISAPI dll). I think I can use
HttpWebRequest to stream a binary file and write to a
file. Anyone ever done this or know where to look on how
to do it?
 
Hi,
I'm not sure where to post this. I want to automate
downloading a image from a web page (the file is
dynamically created by an ISAPI dll). I think I can use
HttpWebRequest to stream a binary file and write to a
file. Anyone ever done this or know where to look on how
to do it?

How about WebClient.DownloadFile/DownloadData? There is also
URLDownloadToFile API in unmanaged world.

...
Regards,
Vadim.
 
Thanks! WebClient.DownloadFile worked perfectly! And so
much easier than what I was planning.

Greg
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top