TIP FSBrowserPlugin is not installed on Foswiki.org.

FS Browser Plugin

Summary

A plugin to enable browsing of a filesystem hierarchy.

Caveats

WARNING! This plugin gives users the ability to directly browse files on your Web server. The plugin is hard-coded to require users to specify paths within the $Foswiki::cfg{PubUrlPath} hierarchy, but users will be able to see every file in that hierarchy that's not a dot-file.

This plugin is currently only designed to work on filesystems that use Unix-style file separators (i.e. '/').

Description

The FSBrowserPlugin provides the FSBROWSER macro. This macro can be used to create a nested Foswiki-style list of any part of the filesystem hierarchy under $Foswiki::cfg{PubUrlPath}. The resulting output can then be used by e.g. TreeBrowserPlugin to produce a nicely-formatted filesystem tree.

This plugin requires that the Web server root be specified in $Foswiki::cfg{Plugins}{FSBrowserPlugin}{ServerRoot}; it defaults to '/var/www'.

Example usage:
%FSBROWSER{"/Files" maxdepth="3"}%

Info

Author: AlexisHazell
Copyright: © 2011, Foswiki Contributors
License: GPL ( GNU General Public License)
Release: 0.1.0
Version: 14980 (2012-06-14)
Change History:
0.1.0 (XX Mar 2012): Initial version
Home: http://foswiki.org/Extensions/FSBrowserPlugin
Support: http://foswiki.org/Support/FSBrowserPlugin
Topic revision: r3 - 14 Jun 2012, AlexisHazell
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