Pre-Uploading Files
When add a file asset to Squiz Matrix, if you browse to the file from your Squiz Matrix client, the files are uploaded to Squiz Matrix via HTTP. This can be slow and error prone. Squiz Matrix therefore allows you to pre-upload large files by copying them into the following directory:
/home/websites/squiz_matrix/data/temp
Bookmarks to the headings on this page:
If you have a pre-uploaded file on your server, when you add a file asset within Squiz Matrix, the Choose a Pre-Uploaded File button will become available.
Access to this Directory
There are three ways to allow users access to the /home/websites/squiz_matrix/data/temp directory:
- Create a specific ftp account for it, chrooted to the above directory.
- Create a symbolic link this directory into the user's home directory.
- Write a script on the server to copy files into the directory, from another directory to which you have granted permissions.
It is not recommended to allow anyone to access the Squiz Matrix file structure itself.
Monitoring this Directory
Squiz Matrix will only remove files once an asset has been created for them within the system. This directory can therefore fill up with unused files and should be monitored, and the files deleted periodically.