Posted on: 02/21/18 06:01pm
By: OMAL
I wonder if there is a plugin which can deal with timestamps of files.
Most cloud file service don't have ability to maintain timestamps for download.
Do you know the plugin of Downloads and Filemgmt support that? If so, it's fantastic.
Thanks.
Re: Downloads and Filemgmt
Posted on: 02/22/18 06:55am
By: Laugh
Not sure what you mean? The Downloads plugin does store when the file was uploaded. (I am sure that Filemgmt does well)
Re: Downloads and Filemgmt
Posted on: 02/22/18 02:06pm
By: OMAL
Quote by: LaughNot sure what you mean? The Downloads plugin does store when the file was uploaded. (I am sure that Filemgmt does well)
Like uploading and downloading with popular FTP clients, the date of timestamp on which a file is created or edited is not changed both after having been uploaded and downloaded. That's what I mean.
Re: Downloads and Filemgmt
Posted on: 02/22/18 04:19pm
By: Laugh
No they don't support that. The download happens over http or https so the timestamp on the file is out of control for the plugins.
Re: Downloads and Filemgmt
Posted on: 02/23/18 08:20pm
By: OMAL
How about zipping?
Zipped files maintain timestamps over http.
Isn't it possible to process with PHP :zip selected files before upload, then upload, then download and unpack files?
Re: Downloads and Filemgmt
Posted on: 02/24/18 11:35am
By: Laugh
It's the same issue with all the files.
After Googling It may be possible through PHP when a user uploads a file to the server to keep the timestamp:
"You can get cached Last-Modified from $http_response_header and use it to touch the file."
but this support is not built into the Download of FIlemgt plugins.
It is not possible to keep the timestamp when a user downloads a file to his computer.