How to download web page?

H

Hooyoo

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

Gianni Mariani

Hooyoo said:
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"?
 
N

noone

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
 

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

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top