jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => General => Topic started by: pierrick on 18.10.2015 15:31:00

Title: {file_date_title}
Post by: pierrick on 18.10.2015 15:31:00
Placeholder {file_date}  doesn't match the file date property ... but is equal to creation date of the download in jdownloads ...
Title: Re: {file_date_title}
Post by: Arno on 19.10.2015 11:05:09
Hi,
when you create a new download, the 'file date' is always the same as the creation date. So you must change the 'file date' manually in the 'edit download' page.

[gelöscht durch Administrator]
Title: Re: {file_date_title}
Post by: ColinM on 19.10.2015 11:10:57
Hi
Yes that is correct.  The thinking is that the date should be the date that the Download is created rather than the actual file date.  Also when the file is downloaded it will get the download date and time so the original creation date is not so useful to the user.  As Arno says you can always change the date manually. But why?

Maybe we should change the hint and the field name to make it clearer.

Colin
Title: Re: {file_date_title}
Post by: Arno on 19.10.2015 11:28:03
It can be sometimes useful to publish a special 'file date'. As example for updates from special software. Here can be the primary creation date important.

When we upload a file get this always the current date from the server. So it is not possible to get the original file date automatically from the client site.
Title: Re: {file_date_title}
Post by: pierrick on 19.10.2015 17:50:05
I just talked about a placeholder which automatically read file last modification date attribute on the local file system. Because manually the "File date" attribute each time the file changes is without added value.
Title: Re: {file_date_title}
Post by: ColinM on 19.10.2015 23:39:16
Hi
Not sure I understand!    Which local file system are you referring to in your comment
Quoteautomatically read file last modification date attribute on the local file system

The Download and its associate info is stored on your website server. If you upload a new 'version' then that would be the new date held on the server.

Maybe you are asking for a tool to san the files on the server and adjust date and other items that way.

Colin
Title: Re: {file_date_title}
Post by: Arno on 20.10.2015 00:35:26
Quote...read file last modification date attribute on the local file system.
This is impossible. The php script on the server can not read any data from your local disc.
Title: Re: {file_date_title}
Post by: pierrick on 20.10.2015 17:42:06
Quote from: ColinM on 19.10.2015 23:39:16
Hi
Not sure I understand!    Which local file system are you referring to in your comment
The Download and its associate info is stored on your website server. If you upload a new 'version' then that would be the new date held on the server.

Maybe you are asking for a tool to san the files on the server and adjust date and other items that way.

Colin

Yes that's exactly what I'm looking for ...