Re: [dev] [surf] downloads

From: …tienne Faure <tinoucas_AT_gmail.com>
Date: Sat, 5 Nov 2011 14:28:10 +0100

On Sat, Nov 5, 2011 at 13:16, <stanio_AT_cs.tu-berlin.de> wrote:
> * Troels Henriksen <athas_AT_sigkill.dk> [2011-11-05 12:51]:
>> There is a fix for this that involves using the
>> webkit_download_get_suggested_filename function and passing it to wget's
>> -O option, but I can't figure out how to prevent clobbering of an
>
> that might work?
> † † † †fn=$result_of_webkit_download_get_suggested_filename;
> † † † †while test -e $fn; do fn="$fn".1; done;
> † † † †wget -O $fn ...

I'm afraid not. I tested it quickly for the same vim.org issue:

webkit_download_get_suggested_filename(o)
    returned "download_script.php" instead of, in this case, "TagmaBufMgr.zip".
Received on Sat Nov 05 2011 - 14:28:10 CET

This archive was generated by hypermail 2.3.0 : Sat Nov 05 2011 - 14:36:05 CET