WebDAV servers don't typically allow clients to set a files modified time on the server so WebDrive uses a work around to provide a way to store a files modified time using custom DAV properties.
This is how WebDrive will determine what date/time values to display in Explorer when working with a WebDAV server:
By default, in Explorer you will see the following date times:
Explorer last modified – this corresponds to DAV:“getlastmodified”
Explorer created date – this corresponds to DAV:“creationdate”
If the setting in WebDrive for “use getlastmodified property” is NOT enabled (default value):
WebDrive will check to see if the server supports custom properties.
If the server returns a value for “srt_proptimestamp”, then WebDrive will check to see if this value matches our timestamp.
If this matches, then the server does support SRT datetime properties and has them for this file and they match. In this case, we would use the SRT timestamp properties:
Explorer last modified – corresponds to DAV:“srt_modifiedtime”
Explorer created date – corresponds to DAV:“srt_creationtime”
This is how WebDrive will determine what properties to set (PROPPATCH) on the server after uploading a file:
If the WebDrive setting for “Set files modified time after upload” is Enabled:
If the WebDrive setting for “use getlastmodified property” is also Enabled:
PROPPATCH “getlastmodified” (most servers don’t support this).
Otherwise, WebDrive will try to save Custom DAV Properties if server allows (not required):
PROPPATCH “srt_proptimestamp” -- this value is set to the same as srt_modifiedtime so we can determine if another program edits the file.
Note: Server will automatically set “getlastmodified” property according to its own rules – usually after an upload. Also, many servers do not allow PROPPATCH “getlastmodified”.