curl-library
Re: Get the date and size of a file on a serveur
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 11 Oct 2006 10:54:21 -0700
Date: Wed, 11 Oct 2006 10:54:21 -0700
On Wed, Oct 11, 2006 at 05:45:01PM +0000, =?ISO-8859-1?Q? Fr=E9d=E9ric=20Dulou?= wrote:
> I need to recover the status of files (date and size) from a server with
> Libcurl, without transfering the file. How can i do it ?
>
> I use the easy interface. In fact, I must compare dates and sizes to
> determine if I upload the file or not.
Look at how the curl command-line implements the --head and --time-cond
options.
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2006-10-11