cURL / Mailing Lists / curl-users / Single Mail


RE: Using the FILE protocol

From: Daniel Stenberg <>
Date: Mon, 27 Jun 2005 07:48:48 +0200 (CEST)

On Mon, 27 Jun 2005, Merlin the Wizard wrote:

> i.e. This does not work:
> Curl -C - -O "file:\\server\path\file"

-O assumes a forward slash to take the file name part from. This "URL" is
quite far from a legal URL (syntax wise) and thus it fails to extract that
file name part.

> Not sure why "-O" would not work and not sure if "-C -" is actually working
> but at least it is taking in the parameter.

-C - is supposed to work for FILE:// transfers as well.

  Commercial curl and libcurl Technical Support:
Received on 2005-06-27