3:
Re: LAMS 2.0 - Share Resources - Add Single File
By: Fiona Malikoff
|
In response to 1 | 02/01/07 06:55 AM | ||
Kris,
If you are a glutton for punishment and really want to find the file then..... One of these days, we intend to add a nice admin screen that lists all the files in the content repository. But for the moment, you have to go searching in the database tables to find out the id number of the file and then you can find it on disk. Go into your database client and run the following SQL. SELECT p.nv_id, p.VALUE Now take the nv_id value. The number gets split into pairs and the directory name in the content repository is based on the pairs. So if the nv_id is 5, then look for <repository directory>/05. If the nv_id is 105, then look for <repository directory>/01/05. If the nv_id is 1105, then look for <repository directory>/11/05. Once you have found the directory, there should be a file in it called "1". This should be the uploaded file. Copy this file to somewhere else, rename it so it has its proper extension and try opening it. It is not zipped or encrypted - just renamed to a number when it is saved on disk. So, is the file there? Fiona Posted by Fiona Malikoff |
|
||||||||||
|
||||||||||
|
||||||||||
|
Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum