cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Get the directory of remote machine

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 20 Sep 2013 23:15:34 +0200

On Thu, Sep 19, 2013 at 12:54:47PM -0700, Igor Korot wrote:
> On Thu, Sep 19, 2013 at 12:24 PM, Dan Fandrich <dan_at_coneharvesters.com> wrote:
> CURLOPT_TIMECONDITION

Actually, you'll want CURLOPT_TIMEVALUE as well.
>
> I googled a little and I guess this is what I will use as it is easier and does
> not require
> sorting the directory by date.
>
> However, I didn't find any code example of setting this option.
>
> Assuming I know the date of the local file, how do I set this option properly?

Read the documentation! It's documented in the curl_easy_setopt(3) man page,
and it's used just like any other curl_easy_setopt option.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-09-20