Copied/moved single/multiple files to sftp or network (smb) folder have incorrect time and date (now instead of original).
Just for check: midnight commander haven't this issue for same folders and protocols.
Version 1.2.2 (2449)
Wrong time for copied to sftp/smb files [FIXED]
Re: Wrong time for copied to sftp/smb files
Hi vladimirk and welcome to the forum!
Yes, copying/moving operations on VFS don't adjust time at this moment. (partially that's because up until v1.2.2 no VFS supported alteration of timestamps)
Thanks for pointing at the issue, will add it.
As for SMB connections - that's strange, since NC treats SMB/AFP/NFS/whatever connections as usual mounts, i.e. it uses the same routines as for HFS/APFS/NTFS/etc.
I currently don't have any NAS nearby, will check it next week.
Yes, copying/moving operations on VFS don't adjust time at this moment. (partially that's because up until v1.2.2 no VFS supported alteration of timestamps)
Thanks for pointing at the issue, will add it.
As for SMB connections - that's strange, since NC treats SMB/AFP/NFS/whatever connections as usual mounts, i.e. it uses the same routines as for HFS/APFS/NTFS/etc.
I currently don't have any NAS nearby, will check it next week.
Re: Wrong time for copied to sftp/smb files
Ok, I've checked what's going on with SMB connections.
Apparently the SMB filesystem driver behaves slightly differently comparing to HFS/APFS drivers.
That lead to the situation when creation timestamp was adjusted properly and modification time was set to current time.
I added a separate logic for remote filesystems, the fix will be available in the next preview build.
Apparently the SMB filesystem driver behaves slightly differently comparing to HFS/APFS drivers.
That lead to the situation when creation timestamp was adjusted properly and modification time was set to current time.
I added a separate logic for remote filesystems, the fix will be available in the next preview build.
Re: Wrong time for copied to sftp/smb files [FIXED]
Hi, Mike
I've checked v1.2.3 and I confirm smb/sftp file timestamp is correct now.
Thank you very much.
I've checked v1.2.3 and I confirm smb/sftp file timestamp is correct now.
Thank you very much.