You are here: addons4webgui > Home > Assets
User: Visitor
Navigation
News
Login
FileManager

Documentation

FileManager for WebGUI

What's this?:

This asset provides a simple file manager for WebGUI to manage files and folders on the file system.

Features

  • Add/rename/delete folders
  • Upload/download files
  • Rename/delete files
  • Delete selection of folders/files

Description of the available asset settings

  • Document root: The document root path on the file system where the file manager starts on.
  • Read only: Yes => Folders and files available read only. No => Change and delete of folders and files possible.
  • User folder: Yes => Each user has its own folder. No => Each user has access to the same folder.
  • Id: Yes => Needs a id string in the url query and a folder with the name of the id under Document Root. In this case, you have only access to this folder.

System requirements:

  • Web server (tested on Apache 2).
  • WebGUI (tested on WebGUI V7.4.x).
  • Perl module Cwd
  • Perl module Tie::IxHash
  • Perl module File::Type
  • Perl module File::Path
  • Perl module FileHandle

Files:

  • WebGUI/docs/Asset_FileManager.html: This document here.
  • WebGUI/lib/WebGUI/Asset/Wobject/FileManager.pm: The asset.
  • WebGUI/lib/WebGUI/Help/Asset_FileManager.pm: Help Text.
  • WebGUI/lib/WebGUI/i18n/English/Asset_FileManager.pm: Texts in english language.
  • WebGUI/lib/WebGUI/i18n/German/Asset_FileManager.pm: Texts in german language.
  • WebGUI/www/extras/assets/fileManager.gif: Asset icon.
  • WebGUI/www/extras/assets/small/fileManager.gif: Asset icon small.
  • WebGUI/www/extras/fileIcons/back.gif: File icon for goto step back (parent folder).
  • WebGUI/www/extras/fileIcons/folder.gif: File icon for a folder.

Installation (needs root access):

  1. Download the package source from http://sourceforge.net/projects/addons4webgui.
  2. Extract it into your WebGUI install. Example: tar xvfz /path/to/Asset_FileManager-x.x.x.tar.gz /path/to/WebGUI.
  3. Change into directory /path/to/WebGUI/lib.
  4. Execute: perl -MWebGUI::Asset::Wobject::FileManager -e install www.example.com.conf
  5. Set 'enableStreamingUploads' to '1' in the config file
  6. Restart web server.

Important notes:

  • -

Troubleshooting:

See web server log file and/or webgui log file.

Known bugs/problems:

  • -

Changelog:

V0.1.2:
Security update
  • Fixed bug: catch '..' in path
V0.1.1:
  • Updated documentation (this)
V0.1.0:
  • First release
Copyright 2009, studio4master
Licensed under the GNU General Public License (GPL) V3

http://addons4webgui.studio4master.ch

            Valid CSS!  
Running on WebGUI 7.6.25-s4m-20090617
Copyright (c) 2001-2009 by studio4master