[buddypress-dev] weird download links on trac
Barry Caplan
bcaplan at gmail.com
Tue Sep 16 15:13:02 GMT 2008
Thanks Mike, I will try it out and add it to my "boag of tricks".
On Tue, Sep 16, 2008 at 5:24 AM, Mike Little <mike at zed1.com> wrote:
> By the way, Barry,
> The reason wget didn't work is that the url for the zip file has
> ampersands '&' in it. Which the shell steals and interprets as an
> instruction to run wget (with only half the url) in the background.
> enclose the url in single quotes and it downloads, though it still
> doesn't get the name right. wget doesn't automatically honour the
> 'Content-Disposition: inline;; filename=' header.
>
> Links on the other hand does honour the header and save with the
> correct filename. It requires some interaction though.
>
> Hope that helps.
>
> Mike
> --
> Mike Little
> http://zed1.com/
> _______________________________________________
> buddypress-dev mailing list
> buddypress-dev at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/buddypress-dev
>
--
Barry Caplan
www.digimediafinance.com blog
More information about the buddypress-dev
mailing list