cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: State of things for release?

From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Thu, 31 Jul 2008 16:59:05 -0500

Tiago Conceição wrote:

> like i say before, im new on libcurl. What can i use for check that
> i know its a easy thing but i dont know how to make it.

You can use a CURLOPT_HEADERFUNCTION with CURLOPT_NOBODY,
and compare the information your header callback receives
when the file exists, compared to when it does not exist.

( Or you can wait to see what Daniel finds when he gets
time to look at the current behavior. )

Also, if you are new to libcurl, i think you will find it is a lot easier
to work out these problems with a simple command-line program
written in standard C, instead of using a lot of C++ objects and
functions that the rest of us might not have access to.

 - Jeff
Received on 2008-08-01