Use this software to manage files and directories on your webserver or on an FTP server.
You can create, rename, move and delete directories, upload, download, edit, rename, move,
copy, delete and search files, and change file and directory permissions*. Have a look at this
demonstration (all functions except for file download are disabled for security reasons, though):
×
×
×
×
×
FileManager works fine with FTP connections. Please note that if you don't set up an FTP
connection in the configuration, FileManager will use the
local file system instead. In this case it can only access directories and files for which
PHP has at least read permission; if you want to upload, edit, rename, move, copy or delete
files, or change file permissions*, PHP must also have write permission for these files or
directories.
FileManager can be used as a stand-alone software, but it's also easy to integrate it into
your own website; just have a look at the usage section to
see how you can do this.
This software should work with PHP 4.1.0 or higher.
Features
Works with FTP servers (UNIX and Windows) and local file system.
Supports multiple languages.
Can be easily adapted by modification of configuration file and CSS file.
Can be easily integrated into your website - even multiple instances.
Supports detailed view and icon view.
Built-in editor for text files with realtime syntax hilighting.
Built-in image preview with thumbnails.
Built-in action log.
Integrated file and directory search.
Integrated directory tree for quick directory switching**.
Supports automatic setting of permissions when creating new directories or saving
files*.
Supports automatic modification (to lowercase, replace spaces) of filenames for
uploaded and downloaded files.
Images can be resized automatically before they are saved.
Multiple files and even whole directories can be uploaded at once.
Files can also be saved from URLs.
Supports automatic backup creation (versioning) when saving files.
Supports restoring of deleted files.
Supports password protection (login).
Supports hiding of system files and files with arbitrary extensions.
Works with UTF-8 and other character sets.
* On Windows systems changing of file permissions doesn't work properly. This is not a
restriction of this software.
** If the number of directories is too big, it will take some time to load. This goes
especially for FTP connections. In this case it is recommended to disable the directory
tree.
File Search
You can use FileManager to search files and directories. It will search all directories
recursively, starting in the directory that is currently viewed. At the moment, it is only
possible to search for file or directory names. Wildcards like "*" are not supported; FileManager
will find all files and directories containing the search string in their name. For instance, if
you search for "file", the files "filemanager.php", "file.gif", etc. will match your search.
While FileManager views a search result, file upload is disabled, and you can not create new
directories. If you want to do so, please return to your current directory listing first.
Upload Engines
File upload with PHP has two drawbacks: usually the file size is limited (default is 2 MB
per file and 8 MB per POST request), and it is not possible to view a progress bar. The size
limit can be changed in the php.ini file by the server administrator, but this will
also affect all other PHP applications.
The Java Uploader
The open source JUpload applet views a progress bar, supports drag and drop, upload of big files
and even whole directories. It's integrated into FileManager since version 7.8 as default upload
engine. Java 1.4 or higher is required on the client side.
The Perl Uploader
Alternatively FileManager can also upload files via Perl and view a progress bar while uploading.
This requires however that Perl is installed on your server, and that the Perl scripts in
FileManager's cgi directory can be executed. Please have a look at the
usage section to see how this can be done.
The PHP Uploader
This is the basic uploader that should only be used if neither the Java nor the Perl uploader
works for you. It only requires PHP on your server, but you will have to live with a file size
limit (depending on your PHP configuration) and without a progress bar.
Authentication
If you want to use the Java or Perl uploader and installed FileManager on a server that requires
authentication, you must set the authUser and authPassword variables in
FileManager's configuration file.
Known Issues
Here's a list of things that don't work on some systems or with certain configurations:
If SSL is used, FileManager doesn't work properly in Internet Explorer. This seems to be a
browser problem, though.
Thumbnail creation of big images doesn't work on some servers. This also goes for automatic
resizing when uploading images (server returns error 500 and the image won't be saved). Increasing
the memory limit in your php.ini file might help.
Change Log
Version 7.10
Added support for sharpening of thumbnails and resized images.
Changed Java uploader style.
Version 7.9
Added configuration variables authUser and authPassword.
Version 7.8
Added Java uploader.
Version 7.7
Optimized upload progress bar.
Optimized thumbnail creation.
Added support for automatic image resizing.
Optimized cleaning of temporary directories.
Added image dimensions to file details.
Fixed viewing of file path in file details.
Version 7.6
Optimized Perl uploader.
Speeded up directory tree creation.
Version 7.5
Modified download headers for IE 7.
Use separate cache and upload directories for each user.
Version 7.4
Optimized Perl uploader.
Added possibility to move files and directories.
Added possibility to copy files.
Added root directory to directory tree.
Version 7.3
Optimized Perl uploader.
Version 7.2
Added Perl uploader.
Made some minor improvements.
Version 7.1
Renamed folder "icons" because of stupid Apache default setting.
Version 7.0
JSON is used now to reduce XHR traffic.
Added possibility to hide specific list columns.
Added possibility to delete files from the "recycle bin".
Made some other minor improvements.
Version 6.10
Added support for file restoring.
Version 6.9
Files can be saved from URLs now.
Version 6.8
Bugfix: File upload is possible again when log window is disabled.
Added possibility to hide arbitrary directories.
Modified log window.
Added icons for video and audio files.
Added memory usage to debug window.
Version 6.7
Download of very large files should be possible now.
Version 6.6
Added separate class for events.
Fixed setting of default permissions.
Version 6.5
Added support for e-mail notification after file downloads.
Fixed viewing for IE 6 (hopefully). Hey, why don't you use a modern browser? ;-)
Version 6.4
Minor bugfix.
Version 6.3
Added possibility to allow only files with certain extensions.
Added support for e-mail notification after file uploads.
Version 6.2
Optimized UTF-8 support.
Version 6.1
Bugfix: Open empty directories in FTP mode.
Version 6.0
Added action menu.
Added column "permissions" to detailed view.
Added code editor with realtime syntax hilighting.
Added directory tree.
Added configuration setting for fixed height.
Added full UTF-8 support.
Version 5.23
In FTP mode, FileManager works with an empty start directory now (instead of a dot).
Version 5.22
FTP start directory name can contain dots now.
Version 5.21
Bugfix: Multiple instances of the FileManager class will work again.
Version 5.20
Added possibility to set locale.
Version 5.19
Added possibility to hide disabled icons.
Version 5.18
Optimized encoding handling.
You can choose now which folders should be visible within the start directory.
Version 5.17
Added possibility to set encoding (character set).
Fixed text file editor - non-ASCII characters should be saved correctly now.
Language files are no PHP files anymore.
Version 5.16
SECURITY PATCH: Switch to start directory if opening of a
directory fails.
Fixed cookie handling.
Added possibility to view file path in file details.
Added file type icon in file details.
Added symbolic link target in file details. Only for local file system.
Added possibility to choose action when clicking on filename (get file or view file info).
Switched to UTF-8.
Optimized parsing of last modification date in FTP mode.
Version 5.15
By popular request, a click on the file name opens the file (or directory) now
instead of viewing the file information box. To view the file information box, click
on the new icon.
Version 5.14
Fixed viewing of file type icons.
Set error reporting to E_ALL ^ E_NOTICE (this is the PHP default value).
Moved time limit setting to FileManager class.
Added output buffering for better integration into other projects.
Version 5.13
Fixed image preview in FTP mode (again).
Added new class "Tools" as container for general functions.
Added possibility to view debug infos.
Version 5.12
Fixed listing view for Windows FTP servers.
Added length limit for file names in details view.
Version 5.11
Added possibility to start FileManager with a search result.
Keep search results when switching listing view.
Version 5.10
Bugfix: Files saved with the editor don't have plus signs replaced with blanks anymore.
Added possiblity to delete several files at once.
Version 5.9
SECURITY PATCH: Prevent access to directory levels
above start directory. This bug was caused by an incorrect bracket.
Version 5.8
Bugfix: Removed false error message (only PHP 4) when changing permissions in FTP mode.
Added workaround for listing of directories with spaces in FTP mode - some FTP servers seem
to need this.
Version 5.7
Added configuration variable hideSystemType.
Version 5.6
Bugfix: Set default permissions correctly.
Version 5.5
Added possibility to hide files with arbitrary extensions.
Version 5.4
Added log message for failed file uploads.
Version 5.3
Password protection works with multiple instances now.
Optimized "icons" view.
Optimized file upload.
Version 5.2
Added support for backups.
Added support for password protection (login).
Version 5.1
Some code optimization.
Version 5.0
New object-oriented code, but still compatible with PHP 4.
FileManager uses AJAX now.
Added log message window.
Added cache for images when in FTP mode.
Version 4.11
Added port number and passive mode to FTP settings.
Fixed image preview in FTP mode.
Version 4.10
Bugfix: Use FTP command CHMOD (for PHP 4) with octal number. Note: This only works
if your FTP server accepts CHMOD via SITE command.
Version 4.9
Security patch: Prevent malicious editing of text files.
Version 4.8
Optimized automatic $fmWebPath setting.
Version 4.7
Added support for messages containing apostrophes (language files).
The variable $fmWebPath (configuration) is not required anymore.
Version 4.6
Removed dot entry (current directory) in FTP listings.
Added support for multiple FileManager "instances".
Version 4.5
Added support for file and directory names including apostrophes. NOTE: When uploading a
file with an apostrophe in its name, some PHP versions seem to cut anything before the apostrophe
including the apostrophe itself. Example: "Peter's Song.mp3" will become "s Song.mp3". This
is a PHP bug, not a restriction of this software.
Version 4.4
Added support for multiple directory creation (directory names separated by slashes).
Version 4.3
Added uniqe ID to thumbnail path to prevent browser caching.
Version 4.2
Directories in search results can be opened now.
File search bugfix.
Version 4.1
Added file search.
The current directory is cached now, so sorting is possible without further directory access.
Added refresh button.
Version 4.0
Removed error message when reloading page after opening a sub-directory.
Disabled upload, download, renaming, removing, and permission changing of hidden system files.
Changed size display of small files (less than 1 KB) from KB to B.
Added file extension "ini" to the list of editable text files.
Added possibility to switch between "details" and "icons" view.
Version 3.3
Added support for files and directories named "0".