Download from the OTN using WGET

1. Get download link from Firefox

Download the file using Firefox after accepting the license agreement


Pause download


Copy Download link


2. Use Download link to download the file in linux using wget

[root@stagedbms3 software]# wget http://download.oracle.com/otn/linux/oem/12105/em12105_linux64_disk1.zip?AuthParam=1464336954_bb257a448de89g4997f8a160b32efddd

--2016-06-14 11:34:51--  http://download.oracle.com/otn/linux/oem/12105/em12105_linux64_disk1.zip?AuthParam=1464336954_bb257a448de89g4997f8a160b32efddd

Resolving download.oracle.com... 62.127.145.50, 62.127.145.43

Connecting to download.oracle.com|62.127.145.50|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 2392965180 (2.2G) [application/zip]

Saving to: âem12105_linux64_disk1.zip?AuthParam=1464336954_bb257a448de89g4997f8a160b32efdddâ

 

100%[=================================================================================================================================================================================================>] 2,392,965,180 11.5M/s   in 5m 45s

 

2016-06-14 11:40:36 (6.61 MB/s) - âem12105_linux64_disk1.zip?AuthParam=1464336954_bb257a448de89g4997f8a160b32efdddâ

 

[root@stagedbms3 software]# ls

em12105_linux64_disk1.zip?AuthParam=1464336954_bb257a448de89g4997f8a160b32efddd

 

3. Rename file

[root@stagedbms3 software]# mv em12105_linux64_disk1.zip?AuthParam=1464336954_bb257a448de89g4997f8a160b32efddd em12105_linux64_disk1.zip

[root@stagedbms3 software]# ls

em12105_linux64_disk1.zip 


Also passing your username and password you get download files from OTN.

Exampl: wget --http-user=username --http-password=password --no-check-certificate --output-document=filename "https://updates.oracle.com/Orion/Download/download_patch/filename" 


For more information please check Doc ID 980924.1

Comments