Hi,
cURL and libcurl let you do things you normally do with a browser, right? Like, as if you have a jini sit inside a server and fire up a browser and do stuff.
Ok then. I need a script to sit on server B, and click on download links on a server A and download files (from server A to server B).
I am new to curl, and not sure if all I need is to issue a simple get
or something else. I know that Content-disposition header
forces the browser to save the document. Does it have the same effect on libcurl too? If it does, I'll make my serving script on server A send that header, and then serve the file.
Any advice is appreciated.
Thanks