8.4.2: where does concrete5 store files?
Permalink
Where does concrete5 store actual files: in the application/files folder or in a DB?
I need to store large files in a server folder, not in the DB, because server HDD space is nearly unlimited while the DB size is not.
If I add a new local file storage location, will the actual files be stored in that server folder and not in the DB? Can these files be managed by the file manager (after adding a folder in the local location it doesn't appear in the FM)?
I need to store large files in a server folder, not in the DB, because server HDD space is nearly unlimited while the DB size is not.
If I add a new local file storage location, will the actual files be stored in that server folder and not in the DB? Can these files be managed by the file manager (after adding a folder in the local location it doesn't appear in the FM)?
The database does not store any files, it only store the location of the file so that the browser can find it in the application/files folder.
Thank you.
What about file management? Is it true there could be only 1 location for upload? The FM doesn't seem to offer choice of locations during upload.
Also the file properties show:
URL to File
http://localhost/test-files/3016/0447/7942/car1.jpg...
Tracked URL
http://localhost/c584/index.php/download_file/5180/0...
but clicking any of these show object not found. But the actual files are in the server folder. Something's wrong with the location setup or permissions. But there's no way to change that, is there?
What about file management? Is it true there could be only 1 location for upload? The FM doesn't seem to offer choice of locations during upload.
Also the file properties show:
URL to File
http://localhost/test-files/3016/0447/7942/car1.jpg...
Tracked URL
http://localhost/c584/index.php/download_file/5180/0...
but clicking any of these show object not found. But the actual files are in the server folder. Something's wrong with the location setup or permissions. But there's no way to change that, is there?
I can't find any control either to choose a location for upload or to move an uploaded file to that location or to create a folder in that different location. How's the other file location supposed to work?
Maybe I don't quite understand the question/problem but isn't the 'Storage Location' already on the right-mouse menu right below 'Move to Folder'?
I've never played around with different storage locations but there's certainly a section of the Dashboard to investigate at Dashboard->Systems and Settings->Files->File Storage Locations.