This is an old revision of the document!
webfileindex
Synchronet comes with a SSJS module (exec/webfileindex.ssjs) that can be used to provide web browser access to your configured File Areas for viewing files listing, file contents and downloading (not uploading) files.
- This script is monolithic, i.e. it has no dependencies on any other files (CSS, images, etc.); it uses inline SVG and UNICODE characters for icons.
- This script relies on the built-in support1) for serving files from your filebase using HTTP[S] (e.g. digest) authentication (not cookies).
- All user exemptions and restrictions, configured file area access permissions, file costs/awards (in credits), and logging are applied to files transferred in this manner.
Configure
This script is normally enabled and configured in SCFG->Servers->Web Server->Filebase Support... as follows:
╔════════════════════════════════════════╗ ║ Web Server Filebase Support ║ ╠════════════════════════════════════════╣ ║ │Enabled Yes ║ ║ │Index Script webfileindex.ssjs ║ ║ │VPath Prefix /files/ ║ ║ │VPath for VHosts N/A ║ ╚════════════════════════════════════════╝
See Also
1)
in Synchronet v3.20