cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: check file before download

From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Wed, 13 Jan 2010 16:15:11 -0600

On Wed, Jan 13, 2010, Dejan wrote:

> So, how can I check the file exists with FTP and HTTP?

See CURLOPT_NOBODY and CURLINFO_RESPONSE_CODE.

 - Jeff
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-01-13