Displaying 5 results from an estimated 5 matches for "ssh2_fxp_setstat".
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.
Curious whether you've tried PuTTY's PSFTP client and wh...
2024 Aug 02
1
sftp can't preserve uploaded mtime: fsetstat: No such file or directory
...ng 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.
sftp> put MRW_PM_Series_17146_PSSF_T1_HB.zip /tempupload1...
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,
>
2019 Apr 18
0
Announce: OpenSSH 8.0 released
...from ssh-agent.
* ssh-add(1): Add a "-T" option to allowing testing whether keys in
an agent are usable by performing a signature and a verification.
* sftp-server(8): Add a "lsetstat at openssh.com" protocol extension
that replicates the functionality of the existing SSH2_FXP_SETSTAT
operation but does not follow symlinks. bz#2067
* sftp(1): Add "-h" flag to chown/chgrp/chmod commands to request
they do not follow symlinks.
* sshd(8): Expose $SSH_CONNECTION in the PAM environment. This makes
the connection 4-tuple available to PAM modules that wish to use...
2019 Mar 27
26
Call for testing: OpenSSH 8.0
...from ssh-agent.
* ssh-add(1): Add a "-T" option to allowing testing whether keys in
an agent are usable by performing a signature and a verification.
* sftp-server(8): Add a "lsetstat at openssh.com" protocol extension
that replicates the functionality of the existing SSH2_FXP_SETSTAT
operation but does not follow symlinks. bz#2067
* sftp(1): Add "-h" flag to chown/chgrp/chmod commands to request
they do not follow symlinks.
* sshd(8): Expose $SSH_CONNECTION in the PAM environment. This makes
the connection 4-tuple available to PAM modules that wish to use...