Loading...
 

FileGalleryImportFileScript

Background

I needed a script to allow me to import some large setup applications into a tiki file gallery and I couldnt get access to the php.ini to increase the upload values and besides I had already FTPd the site onto the site.

How to Use

Simply FTP the file into your tiki/filegals directory, or whereever you point your file galleries to. This script will not work if your file gallery is set to store in the database.

With the script in your tiki folder. point your browse to:
http://<yourdomain>/tiki/tiki-file_import.php?galleryId=<id>&fname=<filename>

e.g.
http://tiki.org/tiki/tiki-file_import.php?galleryId=23&fname=test.zip

The script will rename the file into the secure md5 hash and then insert the links into the file gallery table. You just then need to edit the entry in the File Gallery in tiki to complete the Description and other fields.

Problems?

The script is here as is. I wrote it to do a quick job and it worked for me. If your having trouble with it, email me from Damians Page.

The Script

Attached to this wiki page.


Page last modified on Friday 20 September 2019 17:53:11 GMT-0000

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