1 Reply Latest reply: Jul 24, 2008 2:26 AM by 245858 RSS

    Download from OTN using wget

    stevenbparks
      Tried to download with the URL discovered through Firefox:

      $ wget http://download.oracle.com/otn/solaris/oracle10g/10201/sol64/10gr2_db_sol.cpio.gz
      --16:21:31-- http://download.oracle.com/otn/solaris/oracle10g/10201/sol64/10gr2_db_sol.cpio.gz
      => `10gr2_db_sol.cpio.gz'
      Resolving download.oracle.com... 208.111.133.52, 208.111.133.54
      Connecting to download.oracle.com|208.111.133.52|:80... connected.
      HTTP request sent, awaiting response... 302 Found
      Location: https://profile.oracle.com/jsp/realms/otnLogin.jsp?remoteIp=<my remote IP>&globalId=&redirectUrl=http%3a%2f%2fdownload-llnw.oracle.com%3a80%2fotn%2fsolaris%2foracle10g%2f10201%2fsol64%2f10gr2_db_sol.cpio.gz [following]
      --16:21:31-- https://profile.oracle.com/jsp/realms/otnLogin.jsp?remoteIp=<my remote IP>&globalId=&redirectUrl=http%3a%2f%2fdownload-llnw.oracle.com%3a80%2fotn%2fsolaris%2foracle10g%2f10201%2fsol64%2f10gr2_db_sol.cpio.gz
      => `otnLogin.jsp?remoteIp=<my remote IP>&globalId=&redirectUrl=http:%2F%2Fdownload-llnw.oracle.com:80%2Fotn%2Fsolaris%2Foracle10g%2F10201%2Fsol64%2F10gr2_db_sol.cpio.gz'
      Resolving profile.oracle.com... 141.146.8.116
      Connecting to profile.oracle.com|141.146.8.116|:443... connected.
      ERROR: Certificate verification error for profile.oracle.com: unable to get local issuer certificate
      To connect to profile.oracle.com insecurely, use `--no-check-certificate'.
      Unable to establish SSL connection.

      and then I noticed the Redirect URL pointing to download-llnw.oracle.com, so I altered my wget request to use download-llnw.oracle.com instead (everything else the same), and lo and behold, it's working!
        • 1. Re: Download from OTN using wget
          245858
          I was able to use this following method to download the 11gR1 client ... with slight modification it should work for other OTN downloads. remember to enter your IP (remember you might have a proxy or FW) and username/password

          wget -vv --post-data="remoteIp=<<myIP>>&globalId=&redirectUrl=http:%2F%2Fdownload-llnw.oracle.com:80%2Fotn%2Flinux%2Foracle11g%2Flinux.x64_11gR1_client.zip&username=<<myOTNusername>>&password=<<mypasswd>>&submit=Continue" https://profile.oracle.com/jsp/reg/loginHandler.jsp -o ora1.log