SFTP support for subsecond times

Mingye Wang (Artoria2e5) arthur2e5 at aosc.io
Fri May 26 19:05:31 AEST 2023


On 5/24/2023 8:44 AM, Ben Lindstrom wrote:
> As filesystem sharing 
> protocols have oddies between platforms that add a lot of complexity and 
> are unsuited for the original sftp purpose.

OpenSSH has done this platform thing before.  In 2008, Damien Miller 
introduced extensions to perform statvfs(2), df(1), and rename over 
sftp.  The code survives to this day and the extension request remains 
documented in PROTOCOL.[1]

   [1]: 
https://github.com/openssh/openssh-portable/commit/d671e5a978efd5ba949d3fdcd03f728dcd68c636

Maybe it should do it again.  Timestamps are a lot less tied to the 
platform compared to these extensions.

Sincerely,
Mingye Wang


More information about the openssh-unix-dev mailing list