This question about Configuration: Answered

How do I set AutoAttachPubFiles configuration option

Where is the configuration file and how do I set the option?


This is an "expert" configuration found in the "Store" section of bin/configure. You need to click the "Yes I've read all the documentation" button and then expert settings will be revealed.

Note that this will cause Foswiki to search the pub directory for attachments on every topic access, and can add load on the server. Another option is to look at the UpdateAttachmentsPlugin. It adds a batch feature to scan and update the metadata for uploaded attachments, moving the workload from the web interface to the background. It can be run on demand from the web using a rest script, on demand from a shell script, or at regular intervals using a cron job.

It also can optionally "clean" attachment metadata, removing attachments that are no longer in the file system.

-- GeorgeClark - 02 Jul 2010

QuestionForm edit

Subject Configuration
Extension
Version Foswiki 1.0.8
Status Answered
Topic revision: r2 - 02 Jul 2010, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy