Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support updating modification date #9280

Closed
cyberduck opened this issue Feb 17, 2016 · 3 comments
Closed

Support updating modification date #9280

cyberduck opened this issue Feb 17, 2016 · 3 comments
Assignees
Labels
enhancement fixed webdav WebDAV Protocol Implementation
Milestone

Comments

@cyberduck
Copy link
Collaborator

95e645c created the issue

I mountet a WebDav URL with MountainDuck to a Drive in Windows 10. It's an Owncloud 8.2.2 Server and I want to sync files via robocopy.

First Run:

  • Mount the Drive
  • start robocopy
  • Files are marked as OLDER and NEWER (correct) and upload starts
  • in Windows Explorer the timestamp on all files on the WebDav Site are correct
  • unmount the Drive
  • mount the Drive again
  • all uploaded files on the WebDav Site have the timestamp of the upload time!

Second Run

  • start robocopy (same parameter like above)
  • Files are marked as NEWER (correct but should not!)
  • Upload all files again
  • same above...

It seems there's a problem, that the timestamp on the server is not set correct and a sync does not work.

For your information: I set the option to sync timestamps in Cyperduck how it is required for sync in CyberDuck.


Attachments

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Unfortunately the {DAV:}lastmodified property in WebDAV is usually read-only and cannot be modified with a PROPPATCH request. However it looks like ownCloud is an exception to this rule and we will look into this.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

In d8ce18f.

@cyberduck
Copy link
Collaborator Author

95e645c commented

The problem still exists. I attached a screenshot from my system. Left is the local file, right the remote on the OwnCloud Server. I use MountainDuck 1.2.1 which is the latest version.

The created date is set to the same value as the changed date. So you cannot use robocopy because then always the file is marked as newer...

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement fixed webdav WebDAV Protocol Implementation
Projects
None yet
Development

No branches or pull requests

2 participants