1. Browse downloads in browser and select the one you need
2. Get the login screen
3. copy redirectUrl param from the address bar of your browser
4. get back to terminal window
5. type:
wget
--post-data='redirectUrl=
&username=&password='
https://profile.oracle.com/jsp/reg/loginHandler.jsp
--post-data='redirectUrl=
&username=&password='
https://profile.oracle.com/jsp/reg/loginHandler.jsp
hit Enter and watche the download progress
Hope it helps.
And don’t forgret you have downloaded a software from a company that in 2010 still does not provide links for direct downloads without logging you in through a form.
$ wget
--post-data="redirectUrl=http://download-llnw.oracle.com/otn/linux/oracle10g/xe/10201/oracle-xe-universal_10.2.0.1-1.0_i386.deb&[email protected]&password=secret"
https://profile.oracle.com/jsp/reg/loginHandler.jsp
--2010-08-06 17:11:29-- https://profile.oracle.com/jsp/reg/loginHandler.jsp
Resolving profile.oracle.com... 141.146.8.116
Connecting to profile.oracle.com|141.146.8.116|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download-llnw.oracle.com/otn/linux/oracle10g/xe/10201/oracle-xe-universal_10.2.0.1-1.0_i386.deb [following]
--2010-08-06 17:11:30-- http://download-llnw.oracle.com/otn/linux/oracle10g/xe/10201/oracle-xe-universal_10.2.0.1-1.0_i386.deb
Resolving download-llnw.oracle.com... 87.248.199.27, 87.248.199.20
Connecting to download-llnw.oracle.com|87.248.199.27|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 262440214 (250M) [text/plain]
Saving to: `oracle-xe-universal_10.2.0.1-1.0_i386.deb'
2010-08-06 17:18:05 (650 KB/s) - `oracle-xe-universal_10.2.0.1-1.0_i386.deb' saved [262440214/262440214]
--post-data="redirectUrl=http://download-llnw.oracle.com/otn/linux/oracle10g/xe/10201/oracle-xe-universal_10.2.0.1-1.0_i386.deb&[email protected]&password=secret"
https://profile.oracle.com/jsp/reg/loginHandler.jsp
--2010-08-06 17:11:29-- https://profile.oracle.com/jsp/reg/loginHandler.jsp
Resolving profile.oracle.com... 141.146.8.116
Connecting to profile.oracle.com|141.146.8.116|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download-llnw.oracle.com/otn/linux/oracle10g/xe/10201/oracle-xe-universal_10.2.0.1-1.0_i386.deb [following]
--2010-08-06 17:11:30-- http://download-llnw.oracle.com/otn/linux/oracle10g/xe/10201/oracle-xe-universal_10.2.0.1-1.0_i386.deb
Resolving download-llnw.oracle.com... 87.248.199.27, 87.248.199.20
Connecting to download-llnw.oracle.com|87.248.199.27|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 262440214 (250M) [text/plain]
Saving to: `oracle-xe-universal_10.2.0.1-1.0_i386.deb'
2010-08-06 17:18:05 (650 KB/s) - `oracle-xe-universal_10.2.0.1-1.0_i386.deb' saved [262440214/262440214]