Forum OpenACS Q&A: Re: Configuring File Storage

Collapse
Posted by Andrew Spencer on

The comments below refer to version 4.6.2 of file-storage though, they may apply to other versions.

  1. This functionality (AFAIK) doesn't exist. However, it could be added rather easily (see: content_length in the cr_revisions table).
  2. file-storage can store files in the file system, governed by the parameter StoreFilesInDatabaseP. You can set this to be the default behavior on package install by modifying the parameter in /packages/file-storage/file-storage.info. The parameter can also be modified after install from the site-map. However, the OpenACS currently has no mechanism associating system accounts with OpenACS users. Well, that is not entirely true; you might want to look into external authorization. Again, file-storage could be modified to support or include this functionality.