WP-Filemanager is your one stop solution for all file management work right from the wordpress admin page.
Following features are present as of now.
- Create File, Folder
- Upload ,Download file
- View, Edit files
- rename an delete files
- Configuration menu inside WP-admin panel
More features to be added soon.
- Code editor for script fles
- WYSIWYG editors for html files
- Image editor for image files
Download
Latest version: Download wp-filemanager v1.4.0 [zip]
Downloads so far 66568
Installation
- Extract the zip file and just drop the contents in the wp-content/plugins/ directory
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- Update configuration (most importantly home_directory) and select relevent options.
- Check under the admin section last menu in sidebar will be FileManager.
















I keep getting this message. “Invalid home folder.” Am I doing something wrong? I just want to change the default directoury to “/wp-content/uploads/”.
looks like you forgot to change the $home_directory variable in PHP file.
Please update it.
for your config the variable would be “../wp-content/uploads/”
Hello,
is a way to activate this plugin even for non-admin users, like editors or subscribers?
Thank you
Hi Gervaso,
Currently that is not enabled as this can lead to security concerns.
this plugin will work only for administrator.
for Editors and Subscribers you can have theme editor.
BTW what’s your plan if i do open it for anyone other then admin.
It would be good to transform this plug-in into a complete solution, like a file repository, with group rules to access file and so on…
That is something i am wishing to transform this into but lack of time or what could i say having a large array of work dispersed all over web leaves me with so much laziness that i am not able to work this one out.
Hello,
when I try to download a file I get this:
Fatal error: Call to undefined function get_option() in /home/mhd-01/MY_SITE_URL/htdocs/wp-content/plugins/wp-filemanager/conf/config.inc.php on line 10
How can I fix it?
Do check the mail i sent you
I get the same error msg …config.inc.php on line 10.
mail sent please check
I want to be able to delete files using FileManager, but it doesnt exist as an option in the file list screen. I checked the configuration, and check the box to enable it, but nothing. Any help?
feature under check as of now.
will update with next release.
I don’t have the option to delete file even though it is checked in the options. The plug-in works fine otherwise. Please help!!
I know this has probably been addressed before but when I try to download i get the same error message as Gervaso and Anthony.
When will the update be coming? Thanks!
I am also getting the error:
Fatal error: Call to undefined function: get_option() in [...]/wp-content/plugins/wp-filemanager/conf/config.inc.php on line 10
Hi
I get this error when I download a file
Fatal error: Call to undefined function get_option() in /home/…/wp-content/plugins/wp-filemanager/conf/config.inc.php on line 10
An easy fix for the download issue..while not a permanent one it will get it functioning but it will render configurations in the admin panel useless. Open conf/config.inc.php and comment out all instances of get_options. There a several if/else statements that contain it so you will need to decide whatever option values you want and leave those variables defined as either true or false and comment the rest of the if/else out. Then as if magic had occured..the downloads will work
I’ve the same trouble on download:
Fatal error: Call to undefined function get_option()
The trouble is because download proxy page “/wp-filemanager/incl/libfile.php” include config.ing.php page. In config file you use get_option but noone include that wordpress feature.
I fix it bypassing config into libfile. If you fix it please say it.
Thanks
Hi All,
First of All i would request a serious appology for the errors all are facing.. right now you can use the workaround suggested by andrew i am in a process of fixing the error once and for all however due to other priorities in my life i am stuck with being not so productive.
Will update next once i do a new version release with all bug fixes
Hi,
First of all – this is fantastic plugin, thanks very much! I would need little bit of help though. When adding a file, you can select on which website the file will appear (by selecting POST ID) – is there any way to restrict that page/post treeview to list only certain pages (in my case only two pages)? Any advice will be much appreciated.
Hello,
when I try to download a file I get this:
Fatal error: Call to undefined function get_option() in /home/mhd-01/MY_SITE_URL/htdocs/wp-content/plugins/wp-filemanager/conf/config.inc.php on line 10
How can I fix it?
Hi,
I need to allow contributors to access just this plugin as it will be used for a file repository shared by all logged users.
Any advice on how to achieve this?
(and as an improvement maybe could this be a configuration on future releases?)
Hello Anant. Thanks for plugin.
Please write version in description in next version
/wp-fileman.php
Example:
/*
Plugin Name: WP-Fileman
Description: FileMan for WordPress allows you to easily change, delete, organize and upload files.
Author: Anant Shrivastava
Author URI: http://anantshri.info
Version: 1.2.6
*/
If you not write wordpress warns about updates, even when i have last version.
And maybe, you should save plugin configuration in database in other way this information be delete after plugin update.
It’s a great plugin, except that the view image feature malfunctioned whenever I attempted to view any graphics file. It would show a broken image icon instead.
how to solve urgent
file must be modified “wp-filemanager/incl/view.inc.php”
so you can see preview images
I am facing the issue of not being able to download because of getOption(). Is there any way to fix this without having to lose configurations in the admin panel?
i am working towards releasing a new version so you might have to wait for some time.
I am still having issues with the Downloads. Can someone help me out pls?
Hey Anantshri, Any update on the bug?? sorry to bug you but its kidda urgent. :s
I have upload wp-fileman folder to the /wp-content/plugins/ directory but I’m not sure what I have to do when I read this:
“Change the home location for filemanager in conf folder conf/config.inc.php under $home_directory”
I can see the file “config.inc.php” in “conf” folder on my C:\WPfileman\conf
Does it mean I have to move the file “config.inc.php” to another directory in my computer ? and where ?
Installation
1.Upload wp-fileman folder to the /wp-content/plugins/ directory.
2.Change the home location for filemanager in conf folder conf/config.inc.php under $home_directory.
3.Activate the plugin through the ‘Plugins’ menu in WordPress.
4.Check under the admin section last menu in sidebar will be FileManager.
I’m not sure how to do it under : ” Change the home location….” Can you tell me exactly what I have to do ?
I can see the file config.inc.php in my computer under C:/wp-fileman/conf
I have upload wp-fileman folder to the /wp-content/plugins/ directory.
I have activate the plugin and can see FileManager on sidebar on the last menu.Then in wordpress I go to Filemanager -> Configuration -> Filemanager Default Home Location -> here I taste the follow :
//C:/wp-fileman/conf/config.inc.php
But it’s not work.
Now I can do that. :)
Easy fix for Fatal error: Call to undefined function get_option() in /wp-content/plugins/wp-filemanager/conf/config.inc.php on line 10
I added
require_once(‘../../../../wp-config.php’);
to the top of
wp-filemanager/incl/libfile.php
I think that is what Merlinox was trying to say.
Hi…
thanks for the great plugin… is it possible to change the home location to the root of the blog?
For the config variable I use “../” but when I try to upload some files… it showing “FAILED”.
Thanks
Hi All,
Request everyone to download the new update as i have pushed a bug fix for all.
-Anant
Hello, Might be a dumb question… What is the largest file that I can upload? I am trying to give away large sized graphics on my site and it won’t upload. I have tried compressing, reducing file size, etc. but it still doesnt like it!
Thanks.
The upload file size depends on php configuration.
The WP-Filemanager program has a conflict with the Advanced Access Manager. When AAM is installed, WPFM will not display any files and defaults home to the AAM folder and is unchangeable. I would love to use these two plugins together. Any ideas?
Another problem as well. When I disabled the Advanced Access Manager (as explained above), now I get this error in the left pane:
Warning: stristr() [function.stristr]: Empty delimiter in xxxxx(replaced path)xxxxxx/wp-content/plugins/wp-filemanager/incl/functions.inc.php on line 218
looks like some options conflict let me double check on that.
Can you unpack or unzip a file from file manager? After the zip has been uploaded?
not yet unzip and zip features are still in my todo list.
Спасибо за обновление. Теперь не выходит ошибка string error.
thanks for still using it. Do inform if you find any more issue.
I made some errors last time so finally updated correctly.
Hi Nathan, can you please check i have worked and removed the conflict between AAM and wp-filemanager.
Anantshri… it works perfectly! Thanks!!!
got problems after update. can not rename. looks like site must by globals ON :(
Hi,
I started to use your plugin and its really great.
Compared it to the filebrowser: http://wordpress.org/extend/plugins/filebrowser/
Yours is much prettier and handier to use.
If you could enhance it with the file-permission handling it would nearly be perfect. The zip/unzip is not so important for me.
Is there any chance, that you implement the file permissions into your plugin?
Thanks,
Udo
permission modification is in consider but just doing it slowly coz i don’t want to misss on security.
Hi anantshri,
I believe this is a good decision. Do you have an idea of the timeline?
Is it worth waiting or do you think in months?
Udo
frankly at this point i would say months.
I am checking other implementations of the same feature as well as some security constrains that i have in mind.
but can’t give you a rigid timeline.
Dear Anant,
On all my WordPress installations (3.4.1) the download button on WP-Filemanager (1.3.0) gives a garbled output (with the download link at the bottom of it all). Is it just my installation or are other people suffering this as well?
Is there a way to fix this?
See screenshot: http://img831.imageshack.us/img831/7832/filemanager.png
Thanks for any tips.
Jason
this looks like first time to me. Let me try to simulate the scenario on my home machine. BTW i am working on a maintenance release so will be out in few days you can wait for say 1 week or so. otherwise if you are experimental enough you can look at the svn and download the latest trunk and try it out.
Unable to see the htdocs directory which store my folders for sites, help would be appreciated.
dropped a note on your email please respond so we can get this sorted.
Installation is successful without error but i still not find this into my webpage?? what i want in my site user’s can upload files as well as other users can download files.
@dushant, The plugin is intended for andministrators to administer the whole website at php level.
its not meant to be used for upload and download purposes.
After the latest upgrade, I can’t see edit option at all. can you please fix this asap?
Thanks,
Arpita
Dear Anant,
For the file: wp-filemanager/incl/download.inc.php
I commented out all the lines (9,38,39,41) of header() code and that has stopped the header errors.
I also commented out the readfile() code (line 43) and that fixed the garbled output.
Hope that helps.
Jason
Hello anantshri,
Fab plug-in. I want to use it fro my users and set the folder to an area where they can’t do ant harm. Is there a way – a shortcode maybe – where I could embed this in a standard page? Of course what would be good I suppose is to configure it for each user type but this would be a lot of work so in the meantime any chance of a shortcode?
Thank you………….. liz
Dear ananshri,
I love this plugin! i have a questions because I want the same functionality for my users, which I thought I could control by specifying the start directory. SDo i wondered if there is a way of using a shortcode in a page to offer this functionality to my non-admin users. I realsisde that you have said previously it’s meant for admin but the interface is well done and very usable – more than existing user file upload plug-ins.
The problem obviously comes from the fact that really one may have a differnt set of configuration requirements for each user type. however as a start could you consider providing a shortcode?
I may have already sent this question but as it doesn’t show on eth list on this page I have assumed that it didn’t arrive for some reason. Apologies if you moderate and have therefore got two versions of this request.
Thank you…………………. liz
Responded back on your mail.
@jason thanks for reporting fix is implemented in svn trunk will be available with next update.
@arpitap replied to you on email. fix for this issue applied on svn trunk.
great plug-in … thanks!
I would like to be able to “hide” the configuration option in the menu before I give this tool to my client. Is there a way to do that?
in that casse just edit the plugin to remove the call to add the sidebar option.
just downloaded this plugin so I can create new page templates in my theme without using ftp. It says not tested in WP 3.4.1 but still works great for creating and deleting files. The view and edit options are missing but I can use the theme editor for that
Hey Anant, great plugin. I have run into some issues, though, and while I’m going to fix them on a local copy of the plugin, I was wondering if you’d experienced the problem yourself or knew of an easier way to fix it. Here goes:
I’ve got WP-FileManager installed and working (in general) fine. I can create folders, upload files, etc. The problem comes when I try to rename the file: I get the following error: “Renaming of file failed. This might be caused by insufficient permissions or an invalid filename.” I’ve tried this on three systems, including Windows and Ubuntu. The Ubuntu system has the web root and all children being owned by the www-data user / group, with 770 permissions. The Windows user… I’m able to upload files, so I should have full permissions as well.
Any ideas?
Hello Anantshri,
Thanks for a great plug-in!
Just wanted to share some problems, and solutions.
I got this message in the top of the window:
: ” Warning: is_dir(): open_basedir restriction in effect. File(../..) is not within the allowed path(s): (/home/www/sites/www.wp-renaremark.se/root/:/usr/lib/php5/:/tmp/) in /home/www/sites/www.wp-renaremark.se/root/wp-content/plugins/wp-filemanager/incl/filebrowser.inc.php on line 40″
/wp-content/plugins/wp-filemanager/incl/filebrowser.inc.php.
This fixed change in filebrowser.inc.php fixed it:
if ($directory != “.” && $directory != “..”) if (is_dir($home_directory.$wp_fileman_path.$directory) && $directory != “.” && $directory != “..” && !is_hidden_direct
ory($home_directory.$wp_fileman_path.$directory))
There was also a problem in the viewer, this fixed it
:
— view.inc.php.orig 2012-08-27 09:13:22.888822204 +0000
+++ view.inc.php 2012-08-27 09:14:05.221322213 +0000
@@ -34,6 +34,7 @@
if ($open = opendir($home_directory.$wp_fileman_path))
{
while ($file = readdir($open))
+ if ($file !=”..”)
if (is_file($home_directory.$wp_fileman_path.$file) && is_viewable_file($file))
$files[] = $file;
closedir($open);
Best regards!
View and edit still missing. Trying SVN version…
Is access to this plugin limited to the “admin” role? I’ve setup other roles in “Advanced Access Manager” and “FileManager” doesn’t show when logged in as those other roles.
Yes its restricted to admin role only. this plugin is too big a responsibility for non admin.
Hi Anantshri,
Pls help how to remove the following:
Warning: readfile() [function.readfile]: Filename cannot be empty in /home/content/XX/XXXXXXX/html/XXXXX/wp-content/plugins/wp-filemanager/incl/download.inc.php on line 43
I cant do anything. Do I need to uninstall and install the whole WordPress?
Thanks in advance.
I’ve installed file manager and i have this problem… My files in the related directory I want to manage.. don’t appear properly because my files have greek names greek characters.. unfortunately i have to keep these names.. so what can i do?where can I declare greek encoding? please help!
will need to check this out my self. i don’t have a testbed to replicate the same so this might take some time.
I want to say first that I don’t have an FTP access to a WordPress site I am handling right now so I was really hopeful I can use this plugin to download files. Tried it but failed. All the files I downloaded using the plugin are 0 bytes. I thought it has something to do with permissions but then I tried using it locally. Still didn’t work for I don’t know reason. The files are 0 bytes or read-only.
Please tell me the solution to this sir. Thank you!
Installed and activated File Manager. Tried to delete a plug-in and got this message:
Warning: unlink(../wp-content/plugins/gravityforms/images/gravity-settings-icon-32.png) [function.unlink]: Permission denied in /home/crosspr/public_html/wp-content/plugins/wp-filemanager/incl/functions.inc.php on line 21
Warning: rmdir(../wp-content/plugins/gravityforms/images/) [function.rmdir]: Permission denied in /home/crosspr/public_html/wp-content/plugins/wp-filemanager/incl/functions.inc.php on line 27
Deleting of folder failed.
This might be caused by insufficient permissions.
Help please!
This looks like permission’s issue on the folder. Please take steps as suggested on followup email communication.
I have a few sites on 3.5.1 and when I install the plugin it doesn’t allow me to view or edit the files. The columns are there on the file manager display but there are no icons next to the files for those functions. I have tried to go to the config screen and the view and edit functions are “allowed” so I don’t know why it isn’t working?
Hi Everyone, Thanks for the patience, a new version is released which should solve all the errors encountered. I will try to see if i can fit some new features in next releases onwards.