How about saving content of the site to a file?

  • Thread starter Thread starter Martin Ho
  • Start date Start date
M

Martin Ho

How can I save the whole site (any site) to a zip file?
So lets say I have this address:
http://www.marinij.com/Stories/0,1413,234~26641~2543663,00.html
I want to grab everything from this page, along with pictures and save
it as a zip file.... can I do this?

Normal procedure in internet explorer would be:
"file / save as"
then I would manually zip it.

How do I go about doing this from inside of VB.NET?

Thanks
Martin

*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*
 
Martin,

When you sure there is HTML code used and everything is in an unprotected
directory, you can try it using MSHTML, however when there is javascript (as
in the sample you showed) or something like that in it and parts are saved
in blobs on serverside or in protected directories, you can forget it.

Just my thought,

Cor
 
So you're telling me that .net is not able to do the same as internet
explorer does? Internet explorer "save as" option will save the whole
site, even with javascripts and everything.
How is google doing their "cached" websites then?
Martin

*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*
 
When you sure there is HTML code used and everything is in an unprotected
directory, you can try it using MSHTML, however when there is javascript (as
in the sample you showed) or something like that in it and parts are saved
in blobs on serverside or in protected directories, you can forget it.

That's crazy.

If you can click the link and see it in your browser, you can pull it
down through .NET code and store it somewhere.

You'll have more trouble figuring out how to work with the zip format
than the 'net.
 
Martin,

I do not know it there changed lately something however Google is as far as
I know almost unable to search in JavaScript build sites.

Cor
 
Thug,

You never saw a page where instead the link is a button. By instance an
ASPNET
webpage?

Cor
 

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