cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: fopen.c

From: Dan Fandrich <dan_at_coneharvesters.com>
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 www.yahoo.com
>
>
> 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

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-04-04