Subject: Re: ctime support on SFTP subsystem

Re: ctime support on SFTP subsystem

From: Daniel Stenberg <>
Date: Wed, 6 Oct 2010 14:39:49 +0200 (CEST)

On Wed, 6 Oct 2010, Tor Arntsen wrote:

> Indeed, there is no ctime in there.. it's a bit strange that it's so, I can
> definitely see the point of checking the ctime value of a remote file: if it
> had been copied into the remote location with e.g. cp -p you won't be able
> to figure out when the file was placed there without it. Is there some
> other mechanism in the protocol to do the equivalent thing of checking
> ctime?

It was added in a later SFTP protocol version. If you check section 7 of the
most recent internet-draft (SFTP v6) you find it there:

Actually, even SFTP v4 has it added in section 5:

Received on 2010-10-06