Libcurl Implementation Question

Greetings. I'm working in C++ for the first time in several years and am trying to create a simple program that uses the libcurl library. Unfortunately I seem to be a bit rusty, as I'm getting lost in the libcurl documentation. Would anybody here be able to help?

When running cURL through the command prompt, I get the information I need by using the following command:

> curl --cookie "blah_user=username;blah_pwd=password" http://123.45.67.89/abc.xml{?cd dir0,cd dir1,}

The device I'm retrieving information from comes from abc.xml, but needs the 'change directory' codes sent immediately ahead so that it gives the right data. I just need help figuring out how to convert the above command-prompt cURL command into the right call(s?) in a c++ program through libcurl.

Again, help and pointers greatly appreciated.
Topic archived. No new replies allowed.