Post by ToddAndMargo
I want to download
But how do I get the "AuthParam"?
How did FF get it for the session in which you used Firefox's 'cliget' feature?
Is it what happens when (as a user) you acccept the software licence? If so, your curl process will
have to mimic that stage first.
In my limited experience of doing something complicated with curl, you need to start at the
beginning - so maybe going to the oracle website pretending you've never been there before,
then see what happens at each necessary interaction, then find a way to replicate that in
curl. In my case that's meant using a scripting language to build each successive curl
request, and also to check that what comes back from each one has the expected return
code, no unexpected headers (for example no redirects), the expected set of cookies (ie
their names if not their values), and also do to some sanity checking on the contents of
any html you get, before (perhaps) parsing values out of that to plug in to the next
to interact with it. You might get on better using an automation scripting package (the
sort of thing used to test that GUI applications still work) which will simulate a person
pointing and clicking on various things on a series of pages being displayed in their
browser - something like AutoHotkey or AutoIt.
Jeremy Nicoll - my opinions are my own.