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).