cURL / Mailing Lists / curl-library / Single Mail


Re: metalink support

From: Tatsuhiro Tsujikawa <>
Date: Wed, 20 Jun 2012 01:16:45 +0900

On Tue, Jun 19, 2012 at 5:45 AM, Guenter <> wrote:
> Hi all,
> I did build curl with metalink support, but a test on NetWare failed due to
> illegal filename; I tested a link from the curl download page:
> this results in the metalink file 'metalink.cgi?curl=win64-ssl-sspi' which
> is an illegal one since '?' is not allowed on NetWare, and neither on
> Windows; so we need to think about what we do here: just cut off the
> filename string beginning with the '?' (simplest) or replace all possible
> illegal filename characters with an underscore?
> Or, maybe even store it as a temp file, and remove it afterwards if the
> metalink download finished and checksum check was successful?

Another solution is use -o option and specify safe name.
Since metalink enabled curl parses metalink file based on the
content-type the remote server returned, file name does not need to be
remote name. I'm sorry if I missed the point..

Best regards,

Tatsuhiro Tsujikawa

> Greets, GŁn.
> -------------------------------------------------------------------
> List admin:
> Etiquette: †

List admin:
Received on 2012-06-19