-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Uploaded files keeps original date on bigger files #14982
Comments
For my use case it would be great if all files kept their last modified dates, not only the big ones. It might make sense to add an instance-wide config option. |
+1 For me this would also perfectly make sense. I don't know why so many people need the current timestamp while uploading instead of the files real timestamp. |
Yes it would be good to keep original dates of file when upload. E.g. I upload my photo library and want to keep date history. |
Hi @codiflow, our problem with this is related with "files_retention" app. If we create a label, for example named "1-Week-Retention", all files with modified date older than 1 week will be deleted immediately. What I expect, in this case of using "files_retention" is to keep the upload time as file modified date. This make sense for this use. However, I understand what you say of keeping original dates, that should be, maybe, the correct action. But, for the use of "files_retention" is a problem. |
Hello @rullzer, I've tested this with the last Nexcloud 16.0.3, with the same behavior. Any file uploaded and bigger than 10 MB, NC sets "Modified date" with the original file modified date. So, if you have a "Retention" TAG to delete all uploaded files older than 1 DAY, all files bigger than 10 MB are deleted after few seconds. Is there any way to solve this? Thanks in advance. |
Not solved. |
why moved to files_retention ? I have this problem with for example photos 2.5 MB |
Steps to reproduce
Expected behaviour
Uploaded file modified date/time should be current date/time (now)
Actual behaviour
Uploaded file keeps its original time/date
This is a big problem when using 'File Retention' app.
Tests and Results
Chrome for Windows (v73.0.3683.86)
Uploads bigger than 10MB keeps original modified date.
Uploads smaller than 10MB modified date/time changes to current.
Firefox for Windows (v66) and also ESR v60
Uploads bigger than 10MB keeps original modified date.
Uploads smaller than 10MB modified date/time changes to current.
Microsoft Edge (Windows 10 1803)
All upload’s modified date/time changes to current.
Microsoft Internet Explorer 11
All upload’s modified date/time changes to current.
Server configuration
Nextcloud version: 15.0.5.3
Operating system: Ubuntu 18.04.2 LTS
Mysql version: 10.1.38
Apache version: 2.4.29
PHP version: 7.2.15
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using encryption: no
Are you using an external user-backend, if yes which one: LDAP
LDAP configuration
LDAP config
Client configuration
**Browser:**Firefox 66
**Operating system:**Windows 10 (1803)
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
Browser log
Browser log
The text was updated successfully, but these errors were encountered: