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

Wrong timestamp when uploading to remote server #5785

Closed
cyberduck opened this issue Mar 15, 2011 · 6 comments
Closed

Wrong timestamp when uploading to remote server #5785

cyberduck opened this issue Mar 15, 2011 · 6 comments
Assignees
Labels
bug webdav WebDAV Protocol Implementation wontfix

Comments

@cyberduck
Copy link
Collaborator

aac5e08 created the issue

When syncing my Mac with my remote server (a Synology NAS) using webdav, modification dates on the server are set to the upload time. I would expect the modification dates to be equal to those on my Mac.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Currently writing the modification date on remote files is not supported for WebDAV.

@cyberduck
Copy link
Collaborator Author

aac5e08 commented

Replying to [comment:1 dkocher]:

Currently writing the modification date on remote files is not supported for WebDAV.

Thanks for the quick reply. Can you tell the reason why it's not supported. It makes CyberDuck WebDAV practically unusable.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Replying to [comment:2 finofontana]:

Replying to [comment:1 dkocher]:

Currently writing the modification date on remote files is not supported for WebDAV.

Thanks for the quick reply. Can you tell the reason why it's not supported. It makes CyberDuck WebDAV practically unusable.

There is no particular reason beyond just a missing implementation. We are currently contributing to Sardine which will replace the WebDAV implementation in the future and hope to bring in that functionality in there.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Replying to [comment:3 dkocher]:

Replying to [comment:2 finofontana]:

Replying to [comment:1 dkocher]:

Currently writing the modification date on remote files is not supported for WebDAV.

Thanks for the quick reply. Can you tell the reason why it's not supported. It makes CyberDuck WebDAV practically unusable.

There is no particular reason beyond just a missing implementation. We are currently contributing to Sardine which will replace the WebDAV implementation in the future and hope to bring in that functionality in there.

At least mod_webdav does not allow changing the last modified timestamp.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<propertyupdate xmlns="DAV:">
	<set>
		<prop>
			<d:getlastmodified xmlns:d="DAV:">2010-05-01T23:55:26Z</d:getlastmodified>
		</prop>
	</set>
	<remove><prop/></remove>
</propertyupdate>
<D:multistatus xmlns:D="DAV:" xmlns:ns0="DAV:">
	<D:response>
		<D:href>/dav/anon/sardine/c1413612-2565-4b1d-9115-410476be33a3</D:href>
		<D:propstat>
			<D:prop><ns0:getlastmodified/></D:prop>
			<D:status>HTTP/1.1 409 (status)</D:status>
			<D:responsedescription>Property is read-only.</D:responsedescription>
		</D:propstat>
	</D:response>
</D:multistatus>

@cyberduck
Copy link
Collaborator Author

@dkocher commented

The WebDAV specification does say nothing about changing timestamps and therefore this can unfortunately not be supported.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

#6338 closed as duplicate.

@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
bug webdav WebDAV Protocol Implementation wontfix
Projects
None yet
Development

No branches or pull requests

2 participants