Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: wget --- downloading from oracle site!

Re: wget --- downloading from oracle site!

From: Connor McDonald <connor_mcdonald_at_yahoo.com>
Date: Thu, 08 May 2003 14:56:17 +0800
Message-ID: <3EB9FF91.3074@yahoo.com>


Raqueeb Hassan wrote:
>
> Hello there!
>
> I was trying to download an oracle application from OTN with wget in
> linux box ... it's causing some problems about redirecting url ....
> the real file is more than 1 GB!
>
> $ wget -c -t0 http://download-west.oracle.com/otn/linux/cs/ocs_r1_singlebox_part1.zip
> => `ocs_r1_singlebox_part1.zip'
> Resolving download-west.oracle.com... done.
> Connecting to download-west.oracle.com[206.204.21.139]:80...
> connected.
> HTTP request sent, awaiting response... 302 Found
>
> http://profile.oracle.com/jsp/realms/otnLogin.jsp?remoteIp=216.236.97.133&globalId=&redirectUrl=http%3a%2f%2fdownload-west.oracle.com%3a80%2fotn%2flinux%2fcs%2focs_r1_singlebox
> [following]
>
> http://profile.oracle.com/jsp/realms/otnLogin.jsp?remoteIp=216.236.97.133&globalId=&redirectUrl=http%3a%2f%2fdownload-west.oracle.com%3a80%2fotn%2flinux%2fcs%2focs_r1_singl
>
> => `otnLogin.jsp?remoteIp=216.236.97.133&globalId=&redirectUrl=http%3a%2f%2fdownload-west.oracle.com%3a80%2fotn%2flinux%2fcs%2focs_r1_singlebox_part1.zip'
>
> Resolving profile.oracle.com... done.
> Connecting to profile.oracle.com[148.87.9.202]:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: unspecified [text/html]
>
> [ <=> ] 3,965
>
> 2.16K/s
>
> 12:12:27 (2.16 KB/s) -
> `otnLogin.jsp?remoteIp=216.236.97.133&globalId=&redirectUrl=http%3a%2f%2fdownload-west.oracle.com%3a80%2fotn%2flinux%2fcs%2focs_r1_singlebox_part1.zip'
> saved [3965]
>
> ______________________
>
> It seems that it needs some kind of jsp login .... how do I resolve
> that please?
>
> TIA
>
> raqueeb hassan
> bangladesh

I can't remember the specifics but the resolution is along the lines of:

  1. use netscape to start the download in the normal way (then cancel). This creates the appropriate cookie on your machine.
  2. use wget passing the cookie information to the download

hth
connor

-- 
=========================
Connor McDonald
http://www.oracledba.co.uk

"Some days you're the pigeon, some days you're the statue"
Received on Thu May 08 2003 - 01:56:17 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US