| View previous topic :: View next topic |
| Author |
Message |
Martin Guest
|
Posted: Thu Dec 18, 2003 8:22 pm Post subject: Save Online Web Page HTML Code Offline |
|
|
Hi there friends,
I am trying to connect to a web site and then save the web page's HTML code
offline. I have try working with the TNMHTTP component:
TNMHTTP.GET('www.website.com');
TStringList.Text := TNMHTTP.Body;
This nearly work but I am retrieving a lot of sites in a for loop so after
the second or third site I receive an error: Ranger Checking Error.
PLEASE HELP ANYBODY....
|
|
| Back to top |
|
 |
Dmeister Guest
|
Posted: Sat Dec 20, 2003 1:28 am Post subject: Re: Save Online Web Page HTML Code Offline |
|
|
Don't use the TNMHTTP component. Use the Indy http component IdHTTP. I've
done similar processing with this component and it's very solid.
"Martin" <thegentleman (AT) webmail (DOT) co.za> wrote
| Quote: | Hi there friends,
I am trying to connect to a web site and then save the web page's HTML
code
offline. I have try working with the TNMHTTP component:
TNMHTTP.GET('www.website.com');
TStringList.Text := TNMHTTP.Body;
This nearly work but I am retrieving a lot of sites in a for loop so after
the second or third site I receive an error: Ranger Checking Error.
PLEASE HELP ANYBODY....
|
|
|
| Back to top |
|
 |
|