curl-users
Re: Problems with file://
Date: Wed, 13 Sep 2000 15:40:10 +0200
On Wed, Sep 13, 2000 at 03:36:10PM +0200, Domenico Andreoli wrote:
: 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 ''
I think the file-type URL spec says you must write "file://localhost/..." (or
a hostname instead of localhost).
Lars J
Received on 2000-09-13