Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

that is download with the following command, why it fails to download that file?


the following command works, but that AuthParam may not work after a while, why?


how this AuthParam option is implemented? why i cannot download without this parameter? and why i can only get this parameter using explorer?

is rewrite used in the oracle server when deal with wget request?

why the same command not works after an hour, does the value of AuthParam expired?

so how the server check whether the value of AuthParam is expired?

--2012-09-07 03:51:01--
Connecting to||:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2012-09-07 03:51:01 ERROR 403: Forbidden.

@KJ-SRS is that kind of CGI program which is used to judge if AuthParam is right? is that possible to download jdk package purely using wget command, and no need to get that AuthParam in explorer

wget -O jre-6u35-linux-i586.bin cannot get that jdk:(

wget -O jre-6u35-linux-i586.bin
--2012-09-07 12:27:37--
Connecting to||:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: [following]
--2012-09-07 12:27:37--
Connecting to||:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 21697122 (21M) [application/x-sdlc]
Saving to: `jre-6u35-linux-i586.bin'

100%[===================================================================================================================>] 21,697,122  16.3M/s   in 1.3s

2012-09-07 12:27:39 (16.3 MB/s) - `jre-6u35-linux-i586.bin' saved [21697122/21697122]
share|improve this question

The AuthParam parameter indicates to Oracle's web server that you agree to the terms of their license.

In fact, if you run the wget without the AuthParam, you will be redirected to a download-fail HTML file. If you open that HTML file, you'll see text along the lines of "In order to download products from Oracle Technology Network you must agree to the OTN license terms."

This may just be some confusion on the part of Oracle's web servers vs. legacy Sun web servers. If you go to and find the thing you're trying to download (Linux self-extracting binary), you'll see a link to and if you run wget against that, you'll be able to download your file, albeit with a bunch of junk characters in the filename.

share|improve this answer
the same command not works after an hour(details are added above), why? – giantforest Sep 6 '12 at 19:53
@hugemeow it's likely that when you click the "I Agree" button, the site creates the AuthParam value and stores it on their server for an hour. That would be why you have to use it to download the file via wget. – KJ-SRS Sep 6 '12 at 20:19
@hugemeow The command wget -O jre-6u35-linux-i586.bin (i.e., wget using the second URL I mentioned, outputting to a sane filename rather than whatever the redirection comes up with) should work for your purposes. For future Java 6 updates, you can go to the first URL and find the URL for the appropriate version you want. – cjc Sep 6 '12 at 23:07
@cjc your command cannot get jdk ... – giantforest Sep 7 '12 at 4:29
@hugemeow Ah, I was reading too quickly. OK, then it's likely there's no way to get the JDK without going through their web page and explicitly acknowledging their terms of service (and getting the AuthParam). – cjc Sep 7 '12 at 5:52

There is a much cleaner way to do this with a header:

Cookie: oraclelicense=accept-securebackup-cookie;
share|improve this answer

parase funcionar, le e dado a aceptar lo de los términos y condiciones, lo mande a descargar a través del vinculo en la pagina usando googlechrome ,luego pause la descargar copie la dirección del vinculo y lo puse a bajar con wget wget -c funcionando falta ver si me corta la descarga al cumplirse la hora

[Improved translation]

The following seems to work: I clicked on accept the terms and conditions and started the download using Google Chrome. Then I paused the download, copied the download link and I started the download with wget:


I still need to see if the download gets cut off after an hour.

share|improve this answer
ENGLISH please...we would ALL like to understand what you proposed as an answer. – mdpc Apr 29 '14 at 18:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.