C language > Beginner questions

How to get a webpage from internet?

(1/1)

JustC:
I am trying to have my C-program enabled to get a webpage(html) from internet, and store the downloaded html-code in a file on my disk. It is easy to save the html-code to disk, but I can not figure out ??? how to make my program get the webpage from internet ? What library should I use, and wich function(s)? Is there an easy way to do this?

JohnF:
On my web site there is a BrowserApp that might help

http://www.johnfindlay.plus.com/pellesc/COM/com.html

edit:
Better - attached is GetURL

John

Stefan Pendl:
How about URLDownloadToFile from http://msdn2.microsoft.com/en-us/library/ms775123.aspx ???

Navigation

[0] Message Index

Go to full version