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

> Hey,
>
> On 21 June 2010 16:28, Donald Allen <donaldcal...@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
>
>

Reply via email to