cURL / Mailing Lists / curl-library / Single Mail

curl-library

How to download only new files from FTP server

From: Ankur Saxena <saxena84_at_yahoo.com>
Date: Mon, 17 Aug 2009 13:42:51 -0700 (PDT)

Hi all, I want to poll an FTP server at regular intervals, and download only newly added files. I looked at CURLOPT_FILETIME / curl_easy_setopt() and CURLINFO_FILETIME / curl_easy_getinfo() functionality, but I am not sure if this is the way to go. Could someone tell me how to achieve this? Thanks. PS: Apologies if this has been answered before. I searched but didn't find any relevant thread.
Received on 2009-08-17