cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: Using the FILE protocol

From: Daniel Stenberg <daniel-curl_at_haxx.se>
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: http://haxx.se/curl.html
Received on 2005-06-27