Saving html web pages to io streams

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How can we save entire html web pages to io streams, including picture files (jpeg, gif, etc.) and other linked files if any.

We need to be able to save to disk entire html pages, not just their links.

Thanks in advance.
 
You will need to download the image from the specified url, and then save it
to a local folder you'll need to refer to.

an example:

<IMG SRC="http://www.aDotComSite.com/images/image1.jpg">
becomes (where images/ is a local folder):
<IMG SRC="images/image1.jpg">

I suugest that you find yourself a Regex that you can use to extract and
replace objects paths within a given html page.

MC said:
How can we save entire html web pages to io streams, including picture
files (jpeg, gif, etc.) and other linked files if any.
 
Back
Top