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


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

Re: perl wget mystery

Path csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From dave.gma+news002@googlemail.com.invalid (Dave Sines)
Newsgroups comp.os.linux.misc
Subject Re: perl wget mystery
Date Tue, 21 Jul 2015 00:36:14 +0100
Organization A noiseless patient Spider
Lines 25
Message-ID <e8d08cxi03.ln2@perseus.wenlock-data.co.uk> (permalink)
References <mobl22$37i$1@dont-email.me>
Injection-Info mx02.eternal-september.org; posting-host="eddebbd78996c7626157ccab6debd60d"; logging-data="29739"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19L6/hmXCY4Mpm4TOUMcgMp"
User-Agent tin/2.3.1-20141224 ("Tallant") (UNIX) (Linux/3.19.0-xpc-2 (i686))
Cancel-Lock sha1:g76Q1Uib+eOJGFaOWFtLJ+IA9xU=
Xref csiph.com comp.os.linux.misc:15093

Show key headers only | 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