sftp can't preserve uploaded mtime: fsetstat: No such file or directory
Jim Knoble
jmknoble at pobox.com
Sat Aug 3 00:41:37 AEST 2024
> On Aug 2, 2024, at 00:32, ilya Basin <basinilya at gmail.com> wrote:
>
> Looks like EFT doesn't support SSH2_FXP_FSETSTAT (working with a file handle), but it does support SSH2_FXP_SETSTAT (working with a file path). OpenSSH sftp only uses SSH2_FXP_FSETSTAT for directories. It doesn't have a separate "touch" command to set mtime for a path and its "chmod" command doesn't support that either.
Curious whether you've tried PuTTY's PSFTP client and whether it works or not....
--
jim knoble
More information about the openssh-unix-dev
mailing list