Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 07:04 am EDT

Geeklog Forums

Downloads and Filemgmt


Status: offline

OMAL

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

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1468
Location:Canada
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.
 Quote

Status: offline

OMAL

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

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1468
Location:Canada
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.
 Quote

Status: offline

OMAL

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

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1468
Location:Canada
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.
 Quote

All times are EDT. The time is now 07:04 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