[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] Downloading files whose names contain spaces
From: |
Graham Lawrence |
Subject: |
Re: [Lynx-dev] Downloading files whose names contain spaces |
Date: |
Mon, 30 Sep 2013 10:44:02 -0700 |
Thank you, Karen and Thomas, for your input; and I will follow up on
your suggestions, Tim, regarding wget and lynx.cfg. If all else
fails, I can perhaps write a script for it.
On 9/28/13, Tim Chase <address@hidden> wrote:
>> 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
>
>
>
>
>
--
Graham Lawrence