cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Local files

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 9 Apr 2003 18:10:00 +0200 (CEST)

On Wed, 9 Apr 2003, Sigal Algranaty wrote:

> I tried it. In url.c there a section that checks the protocol type. There
> is only reference to FTP/GOPHER/HTTPS/FTPS/TELNET/DICT/LDAP, and the
> default is http.

1. There's a reference to 'file' as well. It was added three years ago!

2. There are 3 test cases in the test suite that use file:// and they run
   fine on my test hosts.

> And still there's an error: "Couldn't resolve host."

When you do what?

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
Received on 2003-04-09