File storage | |
In many features, like File Gallery, Trackers, Wiki , etc., it's possible to upload binary files (like .png, .odt, .xls, .doc, .pdf, etc). By default, Tiki stores these files in your database with the rest of the data. If you will have a lot files, or large files, you should change this setting to store files on the file system. But for other features, storage is not configurable. Please check tiki-admin_system.php for your Tiki set up. |
Storing Files in Database or File Directory | |
There's an important setting for the file galleries: the storage strategy for files. You can choose one of two options to store file gallery files:
|
Storing files on the database | |
If you decide to store files in the database, then each file data will be stored in a database column (field) as a blob. This has the following advantages and disadvantages:
|
Storing files in a directory | |
If you decide to store files in a directory, you must indicate the path to a directory where you will store files. The directory can be absolute or relative to the Tiki directory for example:
Storing files in a directory has the following advantages and disadvantages
|
Ideal scenario | |||||||||||||||||||||
The best scenario is to work like this:
Batch Upload is purposely put in a different place than tiki-data-files because one is long term storage, and the other is just a temporary space. Benefits
|
Related links | |