Displaying 3 results from an estimated 3 matches for "ssh2_fxp_fsetstat".
2024 Aug 02
1
sftp can't preserve uploaded mtime: fsetstat: No such file or directory
I'm connecting to "EFT Server" https://www.globalscape.com/eft and it has an SFTP module. It has nothing to do with OpenSSH, but enterprise likes it for some reason. I don't control the server.
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...
2024 Aug 02
1
sftp can't preserve uploaded mtime: fsetstat: No such file or directory
> 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...
2024 Aug 01
1
sftp can't preserve uploaded mtime: fsetstat: No such file or directory
On Wed, 31 Jul 2024, ilya Basin wrote:
> I've just tried that. It still fails.
>
> Is it possible to dump the decrypted sftp commands? I tried -vvv but found nothing interesting.
Try
Subsystem sftp /usr/libexec/sftp-server -l debug3
in sshd_config
> The Total Commander plugin calls:
>
> libssh2_sftp_setstat(ConnectSettings->sftpsession,
>