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.
 

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