similar to: sftp can't preserve uploaded mtime: fsetstat: No such file or directory

Displaying 20 results from an estimated 200 matches similar to: "sftp can't preserve uploaded mtime: fsetstat: No such file or directory"

2024 Jul 31
1
sftp can't preserve uploaded mtime: fsetstat: No such file or directory
On 31/07/2024 16:28, ilya Basin wrote: > I use openssh-client 1:8.9p1-3ubuntu0.6 and I'm trying to upload files to EFT Server. > > Previously I was using Total Commander with SFTP plugin and it does preserve mtime.https://www.ghisler.com/plugins.htm > > When I try to do the same from command line it fails. > > $ sftp -p user at server <<< 'put
2024 Jul 31
1
sftp can't preserve uploaded mtime: fsetstat: No such file or directory
I've just tried that. It still fails. Is it possible to dump the decrypted sftp commands? I tried -vvv but found nothing interesting. The Total Commander plugin calls: libssh2_sftp_setstat(ConnectSettings->sftpsession, thename,&attr) What does the command line client use? -------- Original Message -------- From: Brian Candler [mailto:b.candler at pobox.com] Sent:
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, >
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
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
2017 Sep 06
2
Disallow some sftp commands
Hello, Couple of days ago, I received a request from a customer. He wants to provide sftp users access to a directory tree containing files. The users must have full rights, but he also wants to avoid moving or deleting directories. This is mostly to prevent mistakenly drag and drop from user's graphical client (Filezilla). Said differently, he wants to protect the directories organization.
2016 Apr 18
0
[Bug 1953] Implementation of xattr in sftp-server for sshfs
https://bugzilla.mindrot.org/show_bug.cgi?id=1953 TJ Saunders <tj at castaglia.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tj at castaglia.org --- Comment #6 from TJ Saunders <tj at castaglia.org> --- Instead of using custom SFTP
2006 May 15
1
[PATCH 8/12] openssh-4.3p2 return code check bugs
The get_handle function can return a negative value. The variable that value is assigned to is eventually passed to handle_close which uses the value as an array index thus not being able to handle negative values. This patch adds the return code check and provides an appropriate error exit in the event of a negative return code. This entire set of patches passed the regression tests on my
2008 Mar 31
0
Is loadby file name order not implemented or not working? - want to run tests in file name order, not mtime order
Hi, I''m writing my requirements in rspec, however, I can not figure out a way to execute all specs according to alphabetical order, not by last modified time. According to the documentation, it seems like the default is by alphabetical order, I just can not get that to work. In the unit tests with the rspec package, seems like only mtime was tested. Can anyone tell me how to run specs
2008 Mar 28
1
How to loadby by alphabetical order, not mtime
Hi, I''m writing my requirements in rspec, however, I can not figure out a way to execute all specs according to alphabetical order, not by last modified time. According to the documentation, it seems like the default is by alphabetical order, I just can not get that to work. In the unit tests with the rspec package, seems like only mtime was tested. Can anyone tell me how to run specs
2012 Oct 25
1
find with -mtime and -print0 = inaccurate results
If I run this: find /path/to/files/ -type f -mtime -2 -name *.xml.gz I get the expected results, files with modify time less than two days old. But, if I run it like this, with the print0 flag: find /path/to/files/ -print0 -type f -mtime -2 -name *.xml.gz I get older files included as well. Anyone know why?
2008 Aug 29
1
maildir, zlib and mtime/internal date
On the wiki: http://wiki.dovecot.org/Plugins/Zlib I think there should be a step 5.0. along the lines of "get and remember the original message file's mtime" And a step 5.4 like "Using the touch command or some other method, set the now compressed message's mtime back to the mtime of the original message file." To preserve the message's internal time in case
2013 Feb 04
1
Using Mutt - folder atime/mtime etc
Version 2.1.10 For some reason Mutt doesn't list any info about IMAP folders and seems to ignore folder_format. My questions is does anyone have any workarounds for this?
2002 Nov 24
1
rsync and the file's mtime
I'm trying to write a script that runs rsync to pull files and then detect which ones of them have changed. The problem is when I run rsync without the -t flag the mtime gets updated every run, not only when the file changes. It this a bug, by design, or un-avoidable? My plan was to use the -N bash file test operator to check to see if the file had been accessed since it have been
2005 Sep 23
1
mtime of target directory
Hello, I just observed something strange: rsync -av --exclude /USER/NoBackup --exclude '*.NTX' --compare-dest=/backup/novell/vollbackup /mnt/novellserver/SYS/ /backup/novell/ziel rsync -av --exclude /USER/NoBackup --exclude '*.NTX' --compare-dest=/backup/novell/vollbackup/PUBLIC /mnt/novellserver/SYS/PUBLIC/ /backup/novell/ziel For debugging purposes (saving time) I used
2006 Feb 17
3
rsync files with certain mtime
Hello List, How would i rsync all files which are older than X-Days? I am missing some kind of -mtime option. Since this is quite common for backups i am wondering how you are doing this kind of stuff. Thanks, Mario
2006 Nov 10
1
rsync 2.6.9 on OS X. files with xattrs don't retain mtime.
I'm really excited about the recent work on extended attributes. I've compiled 2.6.9 with xattr support, and run a few tests. It seems that if I have a file with an extended attribute ( a resource fork in this case), and I run rsync -aX , the mtime is not preserved. Example: stat xattrsrc/a 234881026 2894399 -rw------- 1 admin staff 0 1048576 "Nov 10 10:03:01 2006" "Nov
2007 Jan 30
1
rsync files with mtime
Hi, I try to rsync files only X days old. This is my setup. The backup server needs to store all servers' backup and only has space for 7 days backup. But each individual server has backup for 21 days. On the backup server, i remove files older than 7 days. When backup server pulls files, I want rsync only pull files with mtime last 7 days. Searching through the archive, someone suggested
2008 Aug 24
1
mtime, atime, ctime
Hello I am making backup of a Plesk Debian server to /backup using Rsync. My questioin is how can I preserve the ctime, mtime, and atime of original files? Thanks
2015 May 18
1
mtime not updating on remote directory
Hello, I'm using rsync as part of a centralised config management for several servers. I'm trying to monitor the mtime of a particular directory and confirm that the remote copies are approximately as new as the the local master. However, mtime on that directory is not being synced. Here's my rsync command: cd $confdir && rsync -avpzR --checksum -I -e "ssh"