cryptomator-ios icon indicating copy to clipboard operation
cryptomator-ios copied to clipboard

Keep modification date of original file

Open tobihagemann opened this issue 9 years ago • 10 comments
trafficstars

The enhancement would be to keep the modification date (and maybe other dates as well like "created" and "last opened") of the original file.

Two challenges:

  1. Depending on the source, it's probably not possible to retrieve the original dates.
  2. It has to be implemented for each cloud storage service, not certain about the complexity yet.

tobihagemann avatar Apr 08 '16 19:04 tobihagemann

In which scenario do you think this feature can be useful?

masvil avatar Apr 11 '16 18:04 masvil

I'm not sure yet, it has been a feature request by a user. It's quite similar to this feature request for the desktop application: https://github.com/cryptomator/cryptomator/issues/220

I think it's just that some people like their metadata? I'm actually not sure about this issue either, so it's open for discussion. :smile:

tobihagemann avatar Apr 11 '16 22:04 tobihagemann

I think that it makes totally sense to let the original dates after the encryption. I have the same problem with a ton of files that I have uploaded and now I am not able to recognise the newer files from the older ones anymore. All the files have the same date, the one when they have been copied. That is actually a big problem.

Intuitivi avatar Aug 21 '16 22:08 Intuitivi

As mentioned by @tobihagemann this might be a cloud-dependent feature. Not sure, if all storage backends support storing/modifying file metadata. But a "best effort" solution should be feasible. For the clouds, that don't allow changing creation/modification date just no-op silently.

overheadhunter avatar Aug 22 '16 10:08 overheadhunter

The cloud system I am using is Google Drive and when I copy a file directly into a Google Drive folder, the modified date is kept after the upload. I also tried with Mega in combination with Cryptomator and I have the same problem, all dates are modified to the date & time of copy.

Intuitivi avatar Aug 22 '16 13:08 Intuitivi

Are we still talking about the iOS app? I'll look into this, but could you please describe the use case for me? From which app did you copy a file into the Google Drive app, where the modified date is kept? So that I can use this as a reference for the Cryptomator app.

tobihagemann avatar Aug 22 '16 13:08 tobihagemann

No I am using Cryptomator on Mac OS (El Capitan) with Google Drive. When I copy a file with the Finder from the HD to the Cryptomator encrypted vault, all the dates are reset to the current day. When I copy a file from the HD to a Google Drive folder (which is a local folder on the HD too), the original dates are kept. Therefore, the dates seem to reset only when the file is copied to a Cryptomator vault, no matter what the cloud system is.

Intuitivi avatar Aug 22 '16 14:08 Intuitivi

Then this is the wrong issue, we're only talking about the iOS app here. Please refer to https://github.com/cryptomator/cryptomator/issues/220, thanks! :)

tobihagemann avatar Aug 22 '16 14:08 tobihagemann

I'm sorry, I didn't get that. Thanks though!

Intuitivi avatar Aug 22 '16 14:08 Intuitivi

Are there any News, with iOS / iPad OS? The Problem ist still in Beta 1.5

micha-09 avatar Feb 02 '20 09:02 micha-09