cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: Get File if New?

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 1 Nov 2004 08:24:07 +0100 (CET)

On Thu, 28 Oct 2004, Nick Wilson wrote:

> is there a way to use curl to check if the file has been updated since the
> last time you downloaded it? - if so, can someone tell me what
> functions/curl options I need to look at to do this?

Are you asking for a option to libcurl or a command line option to curl?

http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTTIMECONDITION

or

http://curl.haxx.se/docs/manpage.html#-z--time-cond

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-11-01