By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,137 Members | 1,024 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,137 IT Pros & Developers. It's quick & easy.

How to download web page?

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

Dec 30 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hooyoo wrote:
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"?
Dec 30 '06 #2

P: n/a
On Fri, 29 Dec 2006 18:32:22 -0800, Hooyoo wrote:
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

Dec 31 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.