Hi,
I am using webfm for a group of ~20ppl to have easy access to some file storage. But this storageplace is not only used via webfm, but also via ssh, scp, webdav-mounts and so on. Now the problem is, ordinary users, so no webfm-admins, can only see files which are in the database. But not every file is uploaded via webfm, so not every file _is_ in the database when it's at its storageplace. So basically what I'd need would be webfm indexing the whole directory on each startup, no matter if an admin or an ordinary user starts it, or webfm showing all files, even those which are not in the database, to ordinary users too.
which of those is the easiest to accomplish and how would I do so?
thanks in advance,
Dieter
Comments
Comment #1
robmilne commentedWhen I initially developed the module I had ftp in mind for mass uploading of documents (the earliest versions had two left hand trees, the lower one being a ftp directory tree that was not available to the webfm_files table). The db insertion icons available in the top right hand corner for admin users were designed for quickly adding whole directory trees of files into the database after a mass import via scp, ftp, etc. I make these icons available only to admins since file visibility to users is conditional on db enumeration of the file. What you seek is possible but outside my intentions. I won't spend volunteer time on it. If you want to accomplish it yourself then look into the code that controls those buttons.