Status: offline

OMAL

Forum User
Regular Poster
Registered: 12/06/17
Posts: 106
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.

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1450
Not sure what you mean? The Downloads plugin does store when the file was uploaded. (I am sure that Filemgmt does well)
One of the Geeklog Core Developers.

Status: offline

OMAL

Forum User
Regular Poster
Registered: 12/06/17
Posts: 106
Quote by: Laugh

Not 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.

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1450
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.
One of the Geeklog Core Developers.

Status: offline

OMAL

Forum User
Regular Poster
Registered: 12/06/17
Posts: 106
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?

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1450
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.

One of the Geeklog Core Developers.