cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: Using the FILE protocol

From: Merlin the Wizard <Merlin_at_GSTay.com>
Date: Mon, 27 Jun 2005 11:53:19 +0800

Just found what the problem is.

Tried what Dan had suggested but found that curl does not seemed to support
the "-O" parameter for some reason. It seemed ok if I use "-o <filename>"
instead and that is why all my previous attempts failed.

i.e. This does not work:

Curl -C - -O "file:\\server\path\file"

This seemed to work:

Curl -C - -o <local file name> "file:\\server\path\file"

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

Will have to do more tests.

Thanks all for information/suggestions.
Received on 2005-06-27