cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Problems with file://

From: Domenico Andreoli <cavok_at_libero.it>
Date: Wed, 13 Sep 2000 21:03:35 +0200

On Wed, Sep 13, 2000 at 01:21:36PM +0200, Daniel Stenberg wrote:
> On Wed, 13 Sep 2000, Jochen Schaeuble wrote:
>
> > I tried to "copy" a local file using curl (curl file://...). I tried
> > different commandlines but I always get the message "unable to connect to
> > server". What's wrong?
>
> Curl is wrong. It is clearly not working correctly for file:// in the latest
> version...
>

i tried the trick, but i got what follows:

[dom_at_grullo ~]$ curl --version
curl 7.2 (i586-pc-linux-gnu) libcurl 7.2.1 (SSL 0.9.4)

*** exited: 2
[dom_at_grullo ~]$ curl file://home/dom/incoming_done.html
curl: (6) Couldn't resolv host ''

*** exited: 6
[dom_at_grullo ~]$

my shell shows return code when != 0, so this is returning 6.

btw, note that curl says to be version 7.2, even if gets out from the
7.2.1 source tree. is it correct?

cheers

-----[ Domenico Andreoli, aka cavok
  --[ get my public gpg key at http://www.freeweb.org/free/cavok/gpgkey.asc
 -----[ 3A0F 2F80 F79C 678A 8936 4FEE 0677 9033 A20E BC50
Received on 2000-09-13