Get wget command for a Metalink / My Oracle Support download with FireFox cliget add-on

Today I ran into an add-on for FireFox which can create a wget command from a download file dialog box. First thing that came in mind was; Will this work for Metalink / My Oracle Support? Yes is does!

The add-on is called ‘cliget’ and can be downloaded here: cliget add-on for FireFox.

Get wget command from cliget download dialog

  1. Go to the Oracle support site:;
  2. Search for the patch or donwload you need and click on the file to download it;
  3. In the download dialog an extra section is added with the wget command and a copy button:
cliget add-on for FireFox

cliget add-on for FireFox

Paste wget command in Linux

Paste this wget command in a Linux command line and hit enter:

[oracle::/u01/download]$ wget --header="Host:" --header="User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0" --header="Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" --header="Accept-Language: en" --header="Accept-Encoding: gzip, deflate" --header="Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7" --header="DNT: 1" --header="Connection: keep-alive" --header="Cookie: ORA_UCM_SRVC=3*ORA~1~0~//~null~*OTN~1~0~//~null~
Connecting to||:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 226118567 (216M) [application/zip]
Saving to: ''

100%[=========================================>] 226,118,567 4.72M/s in 56s

2011-08-05 19:21:58 (3.87 MB/s) - '' saved [226118567/226118567]

The link must be used ‘immediately’, when I tried to use it again 60 minutes later, the result was:

Connecting to||:80... connected.
HTTP request sent, awaiting response... 400 Bad Request
2011-08-05 19:20:15 ERROR 400: Bad Request.

Google Chrome

I have found something similar for Google Chrome, but I involves some steps in exporting a cookie.txt file: wget cookie.txt export add-on for Google Chrome.

Metalink Flash wget

The Flash site of My Oracle Support also lets you create wget commands, but this will be a script which must be edited with your password before it can be used. It includes logging and creating temporary cookie files, but the advantage is it will be usable for 48 hours.

Oracle patch wget options

Oracle patch wget options

Happy downloading!

Tagged , , , , . Bookmark the permalink.

2 Responses to Get wget command for a Metalink / My Oracle Support download with FireFox cliget add-on

  1. Zaid Abdulla says:

    I’m the developer of this extension and I’d like to thank you for writing about it :)
    I wanted to write a similar extension for Google Chrome but Chrome’s API is not as rich as Firefox’s (but I would argue much easier to use). So after a quick look I couldn’t find an easy way to do it. I might give it another try later ;)

  2. Pingback: Downloads. GUI/command line, wget. Specify where to save. - Page 2

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.