Loading...
 
Features / Usability

Features / Usability


Replacing files

posts: 12

Good morning,

we came to the point, where new versions of files in the galleries should be uploaded. The problem is, that we used the ids for referencing, so we can't simply upload the new file while deleting the other.

Are there any means to replace a file in a file gallery?


posts: 2881 United Kingdom

Yes, there is a dirty way.

If you look in the table for the database and get the hash name from the file gallery table, you can then simply delete it from the file system storage area and then ftp upload the new one, and rename it to the hash mark.

If your storage is in the database, you have a problem.

Damian


posts: 12

Quick hacks are no option for a production use (anyway, we _do_ store the files in the database...).

The problem could be solved by providing a means for referencing files/images by name, e.g.
/tiki-download_file.php?fileName=ABC

Are there any plans for this?


posts: 1001 Canada
It's hard to answer to such question. I don't have such plans and know nobody that has. Most likely it could be on your planwink

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting