This article is based on Pythian’s aricle DOWNLOADING FROM OTN DIRECTLY TO YOUR DATABASE SERVER.
You can find the extension at https://addons.mozilla.org/en-US/firefox/addon/8154/
After you install the extension, clear your cookies and then login to otn.oracle.com and sign in. After you have done this, go to Tools -> Export cookies and save the file.
Then you can copy the file to your server and use wget to download the software. Syntax is
wget –load-cookies=cookies.txt <otn_url>
E.g To download 11gr2 Grid infrastructure software for linux x86-64 bit
wget --load-cookies=cookies.txt http://download.oracle.com/otn/linux/oracle11g/R2/linux.x64_11gR2_grid.zip
This Post Has 12 Comments
Very good tips, so many times, I have to use links (a text based url browser to download something on linux command line. thx.
Plugin for FF 3.6
Great update to Pythian’s blog. I had been meaning to write something similar for downloading from edelivery.oracle.com and My oracle Support (no cookies involved, and is much simpler , works like a champ. We’ll see how my June shapes up for blogging).
Pingback: Log Buffer #191, A Carnival of the Vanities for DBAs | The Pythian Blog
I tried but got the below error msg
wget .load-cookies=cookies.txt –user-agent Mozilla/4.0 http://oracle-updates-intl.oracle.com/ARUConnect/B53824-01_3of4.zip
Resolving .load-cookies=cookies.txt… failed: Name or service not known.
Resolving oracle-updates-intl.oracle.com… 184.108.40.206, 220.127.116.11
Connecting to oracle-updates-intl.oracle.com|18.104.22.168|:80… connected.
HTTP request sent, awaiting response… 400 Bad Request
06:03:49 ERROR 400: Bad Request.
where do i need to upload cookies.txt
Upload the cookies.txt file in same directory from where you are running the wget command.
Did you try downloading from OTN site ? Not sure if it works on the above site..
Thanks a lot Amit. Very useful doc. Please update something more like this.
Only 3 kb of zip file is downloaded…not full zip file is getting downloaded…..
I think most likely you have not generated cookies file correctly. Send me mail on amit.bansal [at] askdba.org with your output. Remove at with @.