WebDAV Timestamps

WebDAV Timestamps

WebDAV Timestamp

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_modifiedtime”

            PROPPATCH “srt_creationtime”

            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”.
    • Related Articles

    • Getting Started: Connecting to a WebDAV Server

      Click the “+” Icon and select the “WebDAV” option Connection Name: Enter the name you would like to give your connection. You can name this as you choose, or accept the default name Server Address: Enter the URL (https://mysite.com)/ or IP Address ...
    • I receive an error that Windows can't access this disc. What do I do?

      Error: Windows can't access this disc. Meaning: Windows is unable to connect and display the contents of the drive letter Resolution:        1. Restart the computer and attempt the connection again. If the issue remains, try either Resolution 2 or 3: ...
    • FTPS or WebDAV Server Certificate Verification

      When connecting to an FTPS or WebDAV Server for the first time, or periodically afterwards, a prompt may appear before connect that details the server's certificate information and an option of whether to accept or cancel (deny). If you have any ...
    • 2019: Moving or Changing a WebDrive License to a New or Different Computer

      How can I move WebDrive to a new machine? Use the Export feature in WebDrive to export your Site Database and User Settings out to a .reg file. Run WebDrive, then from the main menu, select FILE -> EXPORT and export your data out to a file. Copy that ...
    • What server types does WebDrive support?

      WebDrive supports these protocols: FTP FTP/S SFTP WebDAV WebDAV/S In addition, WebDrive supports Amazon S3, Box.com, Dropbox, Google Drive, Google Cloud, SharePoint, SharePoint Online, OneDrive, and OneDrive for Business.