How to automate login and download from website?

Hi all,

My C++ program needs to send a username and password to a website, then search for a file in that website and also download it.
(Instead of manually logging in and downloading through a browser,
I'm trying to make a program do it for me).

I'm not sure what package / libraries to use.

What would be the simplest way? My platform is Ubuntu 11.10.


libcurl is perfect for your needs (or maybe even wget).
thanks.. your tip was very useful!

Topic archived. No new replies allowed.