cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How to download only new files from FTP server

From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Tue, 1 Sep 2009 17:11:08 -0500

On Sep 1, 2009, Ankur Saxena wrote:

> I am wondering if curl or FTP server caches file listing info.
> Any comments are appreciated.

I am fairly certain libcurl does not cache these things.

Maybe you could try doing `ls' from a command-line ftp client
and notice the sizes/timestamps, then try `ls' again (using
the same login session) after changing the file externally, to
see if the size and timestamp are updated immediately or not.

 - Jeff
Received on 2009-09-02