Rene Schickbauer

NAME

Maplat::Web::FileMan - simple web based filemanager

SYNOPSIS

Provides a simple filemanager for the web interface.

DESCRIPTION

This is a very simple up- and downloadmanager for the web interface. It's mostly used in conjunction with the VNC module.

FileMan currently does not support subdirectories.

Configuration

    <module>
        <modname>vncfileman</modname>
        <pm>FileMan</pm>
        <options>
            <manage>
                <pagetitle>VNC FileManager</pagetitle>
                <webpath>/vnc/file/manage</webpath>
            </manage>
            <download>
                <webpath>/vnc/file/download</webpath>
            </download>
            <checkfname>
                <webpath>/vnc/file/checkfname</webpath>
            </checkfname>
            <basepath>/media/Fernwartung</basepath>
            <uncpath>\\10.176.45.17\Fernwartung</uncpath>
        </options>
    </module>

get_download

Provides the download capabilities.

get_list

Internal function, generates a list of downloadable files.

get_manage

Main FileMan web interface.

clean_fname

Internal function, clean up filenames to only allow certain "safe" characters.

get_fname

Returns a cleaned up filename (used from AJAX to provide the user feedback how to file will be named after upload).

SEE ALSO

Maplat::Web

AUTHOR

Rene Schickbauer, <rene.schickbauer@gmail.com>

COPYRIGHT AND LICENSE

Copyright (C) 2008-2011 by Rene Schickbauer

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.