Welcome to Geeklog Wednesday, December 19 2018 @ 10:21 am EST

Geeklog Forums

Downloads and Filemgmt


Status: offline

OMAL

Forum User
Chatty
Registered: 06/12/17
Posts: 63
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: 27/09/05
Posts: 1317
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
Chatty
Registered: 06/12/17
Posts: 63
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: 27/09/05
Posts: 1317
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
Chatty
Registered: 06/12/17
Posts: 63
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: 27/09/05
Posts: 1317
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.

All times are EST. The time is now 10:21 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content