Subject: Re: ctime support on SFTP subsystem

Re: ctime support on SFTP subsystem

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 5 Oct 2010 09:47:44 -0700

On Tue, Oct 05, 2010 at 12:19:13PM -0300, Ezequiel Ruiz wrote:
> I'm wondering if it would be possible to add ctime support for the
> _LIBSSH2_SFTP_ATTRIBUTES file attributes. Is this unsupported for
> some reason? (I mean, only atime and mtime are listed in there).

You can't change ctime to an arbitrary value, by definition. ctime is
always updated by the system when the inode changes. That's why system
calls like utimes(2) only allow changes to atime and mtime as well.

>>> Dan
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-10-05