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

curl-and-php

Re: Get File if New?

From: Nick Wilson <nick_at_stylesheet.org>
Date: Mon, 1 Nov 2004 08:44:49 +0100

* and then Daniel Stenberg declared....
> 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?

sorry, i assumed people would guess i was using curlsetopt() with php
cos of the list title ;-)

So, im using with PHP - Im downloading a file every 6hrs and want to
only do this if the file has changed since the last download.

thanks very much!

-- 
Nick W
Received on 2004-11-01