Re: [dev] Surf download target directory?

From: Donald Allen <donaldcallen_AT_gmail.com>
Date: Mon, 21 Jun 2010 12:48:00 -0400

On Mon, Jun 21, 2010 at 12:34 PM, Connor Lane Smith <cls_AT_lubutu.com> wrote:

> Hey,
>
> On 21 June 2010 16:28, Donald Allen <donaldcallen_AT_gmail.com> wrote:
> > It appears to me that there is no way in surf to control the target
> > directory into which downloaded files are stored. If I'm correct, I'd
> like
> > to suggest that such a capability be added. If I'm incorrect, please tell
> me
> > how this is one.
>
> If you mean the "default" directory, something like this in config.h
> should work, as long as the directory exists:
>
> - "xterm -e \"wget --load-cookies ~/.surf/cookies.txt '$0';\"", \
> + "xterm -e \"cd ~/dl && wget --load-cookies ~/.surf/cookies.txt '$0';\"",
> \
>
> If you mean surf should actually prompt for a directory when you
> download, you can probably just do something like this:
>
> - "xterm -e \"wget --load-cookies ~/.surf/cookies.txt '$0';\"", \
> + "xterm -e \"cd `dmenu` && wget --load-cookies ~/.surf/cookies.txt
> '$0';\"", \
>
> Hope this helps,
>

It does, works very well. Thanks much. (I somehow completely missed the
DOWNLOAD macro when looking at config.h, otherwise might not have needed to
send this message! Getting old .... :-)

/Don

> cls
>
>
Received on Mon Jun 21 2010 - 16:48:00 UTC

This archive was generated by hypermail 2.2.0 : Mon Jun 21 2010 - 17:00:04 UTC