For this to work the flexwiki.config must have an entry that looks something like:
<ContentUploadPath>content\upload</ContentUploadPath>
The upload directory must be created as a sub-directory of the wiki root and there must be sub-directories to hold the various kinds of files uploaded
The maximum size of files is controlled by the machine web.config with a default of 4MB, unless overridden by a local web.config (showing a 20MB maximum)
<httpRuntime maxRequestSize="20480" />
There are 3 kinds of attachment covered in this implementation
There are some attached files near the bottom of this page.
SampleFileAttachment contains a sample file folder topic created using the _TemplateFileFolder.
SampleDocManAttachment contains a sample document management page created using the _TemplateDocMan.