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
 
Back
Top