SCIENTIFIC-LINUX-USERS Archives

July 2014

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Elias Persson <[log in to unmask]>
Reply To:
Elias Persson <[log in to unmask]>
Date:
Mon, 28 Jul 2014 11:22:25 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (28 lines)
On 2014-07-28 08:08, ToddAndMargo wrote:
> Hi All,
>
> The nice folks at OverLookSoft set this file up so that
> it will download automatically with
>
> wget http://www.overlooksoft.com/packages/download?plat=lx64&ext=rpm
>
> It get a file called: download?plat=lx64&ext=rpm
>
> Firefox does resolve this.  What am I doing wrong with
> wget?
>
> Many thanks,
> -T

I'm not all that familiar with wget, but judging from the man page
at die.net you'll want the `--content-disposition` option. However,
that's supposedly "experimental (not fully-functional)", and I'm
not sure what version that applies to, nor what version you have.

I'd go with curl, as usual.

    curl --remote-name --remote-header-name "$url"

Requires a version of curl newer than what's available for EL6
though (`-J` was introduced in curl 7.20.0).

ATOM RSS1 RSS2