Workaround:
Many dav servers like "Yandex" and "pCloud" allow clients to set custom DAV properties, some like "Koofr", "PowerFolder" not, and Apache servers store custom properties (when enabled) in a .DAV folder under the folder in which the files are uploaded to.
So a dav client (like TC WebDav pluging) can set the following custom DAV properties on the server for the file in question:
Code:
"srt_modifiedtime" - set to the modified time requested by the file system
"srt_creationtime" - set to the creation time requested by the file system
"srt_proptimestamp" - this value is set to whatever value the server returns for the "getlastmodified" property for this file
So when client uploads a local file called John.txt with a local date/time of "Dec 1, 1998 4:00PM" to the WebDAV server, it can set a property called "srt_modifiedtime" to "Dec 1, 1998 4:00 PM". When dav client requests the directory listing the server will respond with something that looks like this:
Code:
PROPFIND /mydir
<filename> John.txt
<getlastmodifiedtime> March 22, 1:37 PM - controlled by server, not dav client
<srt_modifiedtime> Dec 1, 1998 4:00 PM
<srt_proptimestamp> March 22, 1:37 PM
The server assigns "getlastmodifiedtime" to the current date/time, in this example March 22, 1:37PM.
When dav client parses this listing it sees the getlastmodifiedtime from the server, which is totally controlled by the server and can't be set by dav client.