downloading a file to the hard drive (libcurl?)

Hi all,

I was wondering how would I go about using c++ to download a file stored on a website onto my hard drive through an OF application. I read some stuff about this and got Curl or libCurl specifically to do that.

But libcurl seemed really complex when I just want to do this (seemingly) simple task of downloading a file from the internet into my data folder.

is there something i’m missing or is my solution in libcurl?

thanks.

P.S.: I would like to avoid using Popen, thanks