cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Using the FILE protocol

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 23 Jun 2005 08:35:45 -0700

On Thu, Jun 23, 2005 at 10:31:19PM +0800, Merlin the Wizard wrote:
> Does anybody has any idea how to use this?
>
> I have tried these...
>
> ----------
> curl -C - -O "file://server/path/file"
>
> and I get -->
> curl: (37) Couldn't open file /path/file
> ----------
>
> ----------
> curl -C - -O file:\\server\path\file
>
> and I get -->
> curl: Remote file name has no length!
> curl: try 'curl --help' or 'curl --manual' for more information

Try file://localhost/path/to/file or just file:/path/to/file

>>> Dan
Received on 2005-06-23