screenshot

Description

Webnight Commander is web file manager with interface similar to Midnight Commander. The main difference is that Webnight Commander have only one directory panel.

License

GNU General Public License, version 2

Features

Requirements

Installation

Single File Version

  1. Edit wnc.php located in root directory of the package. At the beginning of the script you can find the place where you can change script settings. Configure user account(s) in users.ini.php file. See the comments in the source for details.
  2. Upload or copy wnc.php and users.ini.php to browsable directory on the web server.
  3. Open wnc.php in a web browser.
  4. Log in.
  5. Enjoy!

Multiple Files Version

  1. Edit 01_config.php in source/includes folder to configure script settings. Edit users.ini.php in source folder to configure default users (sample file).See the comments in the source for details.
  2. Upload or copy content of source directory to browsable place on the web server.
  3. Open wnc.php in web browser.
  4. Log in.
  5. Enjoy!

Changing the Source Code

If you want to change source code, it's recommended to use multiple files version. After changing you can integrate new source in single PHP file using command line PHP script named single_file_generator. Syntax:

php single_file_generator <gen_file> <source_dir>

gen_file - Generated PHP file (default: wnc.php)
source_dir - Path to source directory (default: source)

Configuration templates files .ini.php in source folder are copied in the gen_file directory if they do not already exists.

Becouse of comressing HTML, CSS & JavaScript sources, strict JavaScript syntax is required (; at the end of command rows).

Security Notes

If your Apache server supports SSL browsing, it's recommended to open wnc.php with https:// instead of http:// at the beginning of the URL address.

Get Webnight Commander

SourceForge project SVN Releases