Yesterday I've tried changing the timestamp of some files in a SFTP server and apparently it worked. Then, I did the same (several times) for a directory on the same place, and the timestamp didn't change. Is this a limitation of the SFTP commands or something?
The same with the updated files, after running stat on the SSH console, I noticed that the date changed by Opus was the modified time, not the created/accessed. Would it be possible to have those dates too updated, or maybe select which one to update on CTRL+B (like when doing that with regular; HDD files)?
We don't support setting directory timestamps via SFTP, only their permissions. I'm not sure if this is a limitation of the protocol or not. I checked with FileZilla and that also only seems to set file times and not directory times, but it's not a definitive answer.
Do you know of any SFTP clients that can set directory times?
Opus only currently sets and displays modified timestamps for SFTP. Some SFTP servers (depending on protocol version) support setting accessed and modified but Opus won't do that. (Except that the accessed timestamp may be preserved when uploading files, from what I can see, but not the created timestamp and not when using Ctrl+B to change an existing file's times.)
I do not know of any other SFTP clients that do this because I haven't used any others before. I know that with the SSH "touch xxxxxx... " command, the dir timestamp gets updated, but maybe the timestamp change won't work over SFTP