Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-05-06 23:07:16

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

file : adjust date created?

Is there a way of changing the date created for uploaded files?
I am assuming it would be a matter of changing something in the database?


Offline

#2 2006-05-07 10:08:00

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: file : adjust date created?

That’s what I’d think. But looking at the txp_file table there seems to be no date field… which is strange because where do txp:file_download_created and txp:file_download_modified get their data from???

Last edited by els (2006-05-07 10:08:46)

Offline

#3 2006-05-07 15:52:03

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: file : adjust date created?

…where do txp:file_download_created and txp:file_download_modified get their data from?

From the file itself. Therefore, you’d need to “touch” the files in question. Here’s a great utility for doing just that. :)

Offline

#4 2006-05-07 16:40:47

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: file : adjust date created?

Thanks Mary, you solved a mystery for me. And thanks for the link, very nice.

Offline

#5 2006-05-08 02:06:34

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

Re: file : adjust date created?

Thank you both :)
Thats good to know.


Offline

Board footer

Powered by FluxBB