BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Save Online Web Page HTML Code Offline

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Isapi-WebBroker
View previous topic :: View next topic  
Author Message
Martin
Guest





PostPosted: Thu Dec 18, 2003 8:22 pm    Post subject: Save Online Web Page HTML Code Offline Reply with 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
Dmeister
Guest





PostPosted: Sat Dec 20, 2003 1:28 am    Post subject: Re: Save Online Web Page HTML Code Offline Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Isapi-WebBroker All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.