Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #15093

Re: perl wget mystery

From dave.gma+news002@googlemail.com.invalid (Dave Sines)
Newsgroups comp.os.linux.misc
Subject Re: perl wget mystery
Date 2015-07-21 00:36 +0100
Organization A noiseless patient Spider
Message-ID <e8d08cxi03.ln2@perseus.wenlock-data.co.uk> (permalink)
References <mobl22$37i$1@dont-email.me>

Show all headers | View raw


T <T@invalid.invalid> wrote:
> Hi All,
> 
> I can get the following wget command to work, but not
> the curl.  My eyes are going blurry.  Would someone mind
> looking for what I did wrong.

> wget [...]

> curl [...]
> --header Referer: 
> http://www.oracle.com/technetwork/java/javase/downloads/
> jre8-downloads-2133155.html 
> --header 'Cookie: oraclelicense=accept-secure-backup-cookie' --output 
> /home/CDs/WindowsInternet/Java/jre-8u51-windows-i586.exe

Use -L (re-request a moved page at the new location) and maybe also -k
(tolerate insecure ssl connections).

Try this:

#v+
curl -k -L -e 'http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html' -b 'oraclelicense=accept-secure-backup-cookie' -o '/home/CDs/WindowsInternet/Java/jre-8u51-windows-i586.exe' 'http://download.oracle.com/otn-pub/java/jdk/8u51-b16/jre-8u51-windows-i586.exe'
#v-

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

perl wget mystery T <T@invalid.invalid> - 2015-07-17 12:30 -0700
  Re: curl wget mystery T <T@invalid.invalid> - 2015-07-17 12:31 -0700
    Re: curl wget mystery gazelle@shell.xmission.com (Kenny McCormack) - 2015-07-17 21:34 +0000
      Re: curl wget mystery T <T@invalid.invalid> - 2015-07-17 15:01 -0700
  Re: perl wget mystery Chick Tower <c.tower@deadspam.com> - 2015-07-19 20:13 +0000
  Re: perl wget mystery Jens Stuckelberger <Jens_Stuckelberger@nowhere.net> - 2015-07-19 22:52 +0000
    Re: perl wget mystery T <T@invalid.invalid> - 2015-07-20 20:01 -0700
      Re: perl wget mystery T <T@invalid.invalid> - 2015-07-20 23:34 -0700
  Re: perl wget mystery dave.gma+news002@googlemail.com.invalid (Dave Sines) - 2015-07-21 00:36 +0100
    Re: perl wget mystery T <T@invalid.invalid> - 2015-07-20 20:03 -0700

csiph-web