Hi,

we know this. This was just recently discussed on the mailinglist and I
agree with you.
But there are two arguments why this is not default:
a) It's a quite new feature for wget and therefore would brake
compatibility with prior versions and any "old" script would need to be
rewritten.
b) It's impossible to pre-guess the filename and thus it is not so well
suited for script-usage.

I would like to have this feature enabled by some "--interactive" switch
(which could include more options and might be easier to find) or as you
suggested as default with an disable switch.

Greetings

Matthias

Vladimir Niksic wrote:
> I have noticed that wget doesn't automatically use the option 
> '--content-disposition'. So what happens is when you download something
> from a site that uses content disposition, the resulting file on the
> filesystem is not what it should be.

> I realize that I could put this option in .wgetrc, but I think that it
> would be better if this was the default because the majority of users is
> unaware of this option, and cannot hope to find it unless acquainted
> with the inner mechanics of HTTP. Also, it's nearly impossible to find.
> I've been googling it and finally managed to dig it up from the
> documentation.
> 

Reply via email to