 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Hooyoo Guest
|
Posted: Sat Dec 30, 2006 8:32 am Post subject: How to download web page? |
|
|
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
|
Posted: Sat Dec 30, 2006 8:57 am Post subject: Re: How to download web page? |
|
|
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
|
Posted: Sun Dec 31, 2006 8:45 am Post subject: Re: How to download web page? |
|
|
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 |
|
 |
|
|
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
|
|