Re: [dev] [surf] downloads

From: <stanio_AT_cs.tu-berlin.de>
Date: Sat, 5 Nov 2011 13:16:01 +0100

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

-- 
 stanio_
Received on Sat Nov 05 2011 - 13:16:01 CET

This archive was generated by hypermail 2.3.0 : Sat Nov 05 2011 - 13:24:03 CET