C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to download web page?

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++)
View previous topic :: View next topic  
Author Message
Hooyoo
Guest





PostPosted: Sat Dec 30, 2006 8:32 am    Post subject: How to download web page? Reply with quote



Hi, all,
If I know URL, how can I download that web page? What API can I use?
Thanks.
Back to top
Gianni Mariani
Guest





PostPosted: Sat Dec 30, 2006 8:57 am    Post subject: Re: How to download web page? Reply with quote



Hooyoo wrote:
Quote:
Hi, all,
If I know URL, how can I download that web page? What API can I use?

There are many answers to this question. There are Win32 platform API's
as well as third party libraries. Ones I have used are curl and
wininet. Wininet has many issues and so does curl and so do other
libraries.

In short, it has nothing to do specifically with C++ so you're best off
to ask a group specific to your platform. Keep in mind the right answer
will depend just how thorough your solution needs to be. Does it need
to support proxies, authenticating proxies and automatic proxy
discovery. Does it need to cache results, or perhaps not cache results?
Does it need to be "high performance"?
Back to top
noone
Guest





PostPosted: Sun Dec 31, 2006 8:45 am    Post subject: Re: How to download web page? Reply with quote



On Fri, 29 Dec 2006 18:32:22 -0800, Hooyoo wrote:

Quote:
Hi, all,
If I know URL, how can I download that web page? What API can I use?
Thanks.

BSD sockets interface...or just use a program that already does it like
wget
Back to top
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++) 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.