cURL / Mailing Lists / curl-library / Single Mail


Re: fopen.c

From: Dan Fandrich <>
Date: Fri, 4 Apr 2008 11:44:56 -0700

On Fri, Apr 04, 2008 at 01:33:13PM +0200, Vlad - Andrei Lazar wrote:
> I am having a bit of a trouble getting the fopen.c example to work. It compiles
> just fine, but always chokes with this error message:
> couldn't url_fopen()
> I tried running it like this: ./fopen
> Am I using it the right way?

Yes. But fopen.c is just a test app. After it reads your URL it tries
to open a file called "testfile" in the current directory, and that's
where it's bombing out. If you look at the file fgets.test, you'll see
the contents of the URL.

>>> Dan

--              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-04-04