cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Some questions.

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 3 Sep 2012 00:34:36 +0200 (CEST)

On Sun, 2 Sep 2012, Stef Bon wrote:

> the fuse fs does to read the direntries a new call to get the contents of a
> directory, everytime. Now - cause ftp is known for the fact that contents do
> not change much - I'm looking for a way to determine a directory on a server
> has changed. On local filesystems, the attributes of the directory is
> changed when an entry is added or removed. Is there a way to get the
> attributes of a directory with one single call?

Not reliably, no. The MLSD command (rfc3659) is probably the closest you can
get, but I don't think that command can be expected to be present even on 90%
of the world's ftp sites.

> Futher right now I'm using the curl easy interface, I'm curious the multi
> interface offers some extra abilities?

Not in the way of providing more ftp properties etc, but certainly in the way
of providing a different and non-blocking interface to do transfers.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-09-03