[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] Downloading files whose names contain spaces
From: |
Tim Chase |
Subject: |
Re: [Lynx-dev] Downloading files whose names contain spaces |
Date: |
Sat, 28 Sep 2013 14:57:07 -0500 |
> On Sat, 28 Sep 2013, Graham Lawrence wrote:
> > If I wish to download a file whose name contains spaces, Lynx
> > presents a suggested name for the file consisting only of the
> > first word of its name. Is there any convenient way to have Lynx
> > present the entire name instead?
You might be able to use the EXTERN_LINK command (by default, I
think this is bound to the period) to launch something like "wget" on
the URL which might preserve the entire filename. By default, my
/etc/lynx.cfg has entries that include launching wget to pull down
files. I haven't tested it on anything with a space in the name, but
from what I see in the file, I'm not sure whether the "%s" needs to
be wrapped in double-quotes to prevent the shell from treating the
space-separated bits as separate parameters.
-Tim