gaarai.com

Code, Technology, and Random Ramblings

WP Easy Uploader

WP Easy Uploader was created to make the life of WordPress bloggers easier by allowing an Administrator to add plugins, themes, and any type of file to WordPress directly from inside WordPress. You no longer have to load up an FTP client just to try out that latest plugin or to upload a text document for people to download.

Current Features

  • Upload any type of file to either the standard Uploads directory (just as images do when you are creating posts and pages) or to a path of your choosing.
  • Manual paths are automatically created if they don’t exist.
  • Easily upload plugins directly to the plugins directory and theme files directly to the themes directory.
  • You can select to have archives automatically extracted to their destination. This means that plugins and themes will be taken care of for you, but it also means that you can zip up a large set of files and upload them quickly into a folder on your site. Currently zip, tar, gz, tar.gz, tgz, and tar.bz2 archives are supported.
  • Options for overwriting existing files, renaming the fle if a file with that name already exists (or if overwriting fails), removal of the archive after file extraction, and forcing extracted files to be contained in a folder.

Thanks to File_Archive developed by Pablo Fischer, I was able to provide the extraction ability irregardless of server operating system. I have not tested his code extensively since I only have access to Linux-based servers. If you have any problems with the extraction ability, please contact me.

Planned Features

  • Customizable permissions to allow for users with privileges below Administrator to upload files. My idea is for Administrators to have full access to all the uploader’s functionality while people below Administrator won’t have access to upload themes, plugins, or to manual paths and won’t be able to overwrite files or extract archives.
  • If the above is implemented, I’d like to provide a menu of options for tailoring what minimum access level is required to access each function.
  • Also if the first item is implemented, I’d like to add logging in order to keep track of who uploaded what and when. This would be useful for keeping track of anyone (such as a contributor) who is using the file space inappropriately.

Warning

This plugin does have the ability to overwrite any file inside your WordPress site as long as write permissions for the web server are enabled for that file and the overwrite checkbox has been selected. This means that you can overwrite the wp-config.php file if you tried to. So, always make sure that you are paying attention to what you are doing.

Requirements

  • WordPress 2.2+ - This is as far back as I’ve tested the plugin. I’ve gone through each iterative version backwards, and I have yet to find a version back to 2.2 that this plugin doesn’t work with. If you have different results, please let me know.

Versions

  • 1.0.1 - released on June 27, 2008
    Initial concept
  • 1.0.2 - released on June 28, 2008
    Updated to support WordPress Mu
  • 1.0.3 - released on June 30, 2008
    Added support for PHP 4
  • 1.0.4 - July 2, 2008
    Fixed compatibility issue with the BackUpWordPress plugin
  • 1.0.5 - July 2, 2008
    Internationalized the plugin; now it’s ready for translators
  • 1.0.6 - July 6, 2008
    Added Turkish and Spanish translations. Fixed compatibility issue with the WeatherIcon plugin. Fixed parsing error with Windows servers.
  • 1.0.7 - July 8, 2008
    Added mainland Chinese and Brazilian Portuguese translations. Added 2.6 support.
  • 1.0.7a - July 10, 2008
    Added German translation.
  • 1.0.7b - July 21, 2008
    Added Indonesian translation.

Thanks

Download

Please visit the WP Easy Uploader page on WordPress.org to download. Further information and installation instructions can be found there.

Donations Welcome

If you would like to donate to this project so that I can devote more time to development on this plugin and others like it, please click the button below. Thank you.


104 Comments so far

  1. Leonaut.com June 29th, 2008 9:15 am

    WP Easy Uploader…

    WP Easy Uploader was created to make the life of WordPress bloggers easier by allowing an Administrator to add plugins, themes, and any type of file to WordPress directly from inside WordPress. You no longer have to load up an FTP client just to try ou…

  2. autworld June 29th, 2008 9:18 am

    great work, thank you for this very useful wp-plugin!

  3. [...] WP Easy Uploader’s home page for more information about the development and upcoming [...]

  4. Kimmono June 29th, 2008 11:07 pm

    Wow, this is a fantastic plugin that I would think thousands of people will find extremly usefull!

    Fantastic work!

    Kim

  5. Chris Jean June 29th, 2008 11:13 pm

    Thanks Kim. I’m glad that you enjoy it.

  6. cutewedding June 30th, 2008 3:07 am

    this is what i got when i tried to activate it:
    Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/content/j/o/s/joshie/html/sites/mycutewedding/bridezilla/wp-content/plugins/wp-easy-uploader/wp-easy-uploader.php on line 86

  7. Chris Jean June 30th, 2008 7:04 am

    It looks like some of the code is incompatible with PHP 4. I’m looking into it. I’m going to send you a zip file with a new version for you to try. Please look at it and let me know if it works.

  8. [...] programming genius Chris Jean has recently posted a new plugin called WP Easy Uploader that allows you to upload files, like images, plugins and even THEMES to WordPress inside WordPress [...]

  9. [...] Thanks for visiting! If you’re new here, you may want to subscribe to our RSS feed. This blog posts regular Wordpress news, updates of themes, plugins, ideas, hacks, quick fixes and everything about blogging, especially about Wordpress. Go ahead, subscribe to our feed! You can also receive updates from this blog via email.WP Easy Uploader [...]

  10. Pablo July 2nd, 2008 4:50 pm

    I got the following error:

    Fatal error: Cannot redeclare file_archive_cleancache() (previously declared in /home/pabloal/public_html/wp-content/plugins/backupwordpress/Archive.php:42) in /home/pabloal/public_html/wp-content/plugins/wp-easy-uploader/pear/File/Archive.php on line 55

    I don’t know what to do

    Please help me

  11. Chris Jean July 2nd, 2008 5:43 pm

    It looks like some other plugins are using the package that WP Easy Uploader uses to upload files. I’ll see about creating a work around and will contact you when I have a possible fix. Thank you for the information.

  12. Aaron July 2nd, 2008 5:45 pm

    Thanks, real helpful plugin. I have another suggestion. How about a plugin that allows registered users to upload stuff.

  13. Chris Jean July 2nd, 2008 5:49 pm

    Interesting idea. Do you have some ideas on how that would be used? In other words, what kind of content would you expect these users to upload?

    The main problem I would see with such a tool is it would create an exploitable hole where people could host their potentially unwanted content for free on your server.

  14. Aaron July 2nd, 2008 6:03 pm

    Yea I didn’t think about the exploitable hole issue, but my I idea was like Kineda’s Lookbook, it is powered by BBPress though, but I was thinking about a plugin that would help registered users to upload images, something like Kineda’s Lookbook

  15. Chris Jean July 2nd, 2008 6:14 pm

    I’ll look into it. Thanks for the idea Aaron.

  16. [...] WP Easy Uploader [...]

  17. Aaron July 2nd, 2008 6:43 pm

    Thanks for this plugin!

  18. Chris Jean July 2nd, 2008 10:44 pm

    I’ve uploaded a new version to the plugin repository. Make sure that you get version 1.0.4. The fix I included should work just fine, but it also may have some undesirable consequences if the previously-loaded version of the File_Archive library is older than what is included with my plugin. I’ll see if I can talk to the developer of the BackUpWordPress plugin so that it plays nicer with other plugins.

  19. [...] İlk önce eklentimizi buradan indiriyoruz. [Eklenti Anasayfası] [...]

  20. [...] WP Easy Uploader is a very useful plugin which can upload plugins, themes and any other files quickly and easily from Wordpress admin panel. You no longer have to load up an FTP client. Another good feature of this plugin is that you can install any theme or plugin directly from a URL and you don’t need to download it before uploading to your server. [...]

  21. [...] WP Easy Uploader [...]

  22. [...] 下载 作者主页 [...]

  23. Dan July 3rd, 2008 1:39 am

    How do I upload a plugin folder when easy uploader looks for specific file names to upload?

    Great idea!

    Thanks,

    Dan

  24. Nihar July 3rd, 2008 2:04 am

    Great work… I am downloading it right away and will also write up a post on this….

  25. stereotyyppi July 3rd, 2008 2:29 am

    Hi, I´m getting this error:

    Warning: preg_replace() [function.preg-replace]: Compilation failed: unknown property name after \P or \p at offset 11 in C:\media\phpandmysql\apache2\htdocs\wordpress\wp-content\plugins\wp-easy-uploader\wp-easy-uploader.php on line 243

    though it still uploads the file. I have tried 1.03, 1.04 and development versions.

  26. drizad July 3rd, 2008 2:38 am

    I love it!

  27. Chris Jean July 3rd, 2008 7:21 am

    Thanks Nihar. I’m glad that you like it.

  28. Chris Jean July 3rd, 2008 7:22 am

    Interesting problem. I’m looking into it right now. Thanks for letting me know.

    When I find a possible fix, I’ll contact you.

  29. Chris Jean July 3rd, 2008 7:32 am

    Thanks drizad. I’m glad that you like it.

  30. Robin July 3rd, 2008 11:21 am

    Odd, I checked to make sure I used the same FTP information when plugging it in and it won’t take it.

  31. [...] WP Easy Uploader.  Install this one first, because it will make installing the others so much easier.  With this [...]

  32. Rattling the Kettle July 3rd, 2008 1:33 pm

    Thanks for the great plugin! I’ve been having problems with FTP at work (firewall issues, I guess), so this really makes the process easier for me!

  33. jd July 3rd, 2008 1:34 pm

    This is awesome! I love this, I have wanted something like this for a while now, I love how you can choose a different dest. as well.

    thanks so much

  34. Chris Jean July 3rd, 2008 1:59 pm

    I’m glad that you enjoy it. Thanks for blogging about it BTW. It’s very flattering to be on a “must install” plugin list.

  35. [...] I discovered this plugin from this Real Themes Blog. [...]

  36. [...] WP Easy Uploader [...]

  37. [...] Scarica WP Easy Uploader [...]

  38. Dresah July 4th, 2008 12:00 pm

    Nice plugin.

  39. [...] 下载 作者主页 [...]

  40. Alejandro Urrutia Daglio July 5th, 2008 6:43 am

    Hi!, I’m having this problem when I try to upload a compressed file:
    Fatal Error: Cannot redeclare _pear_call_destructors

    Any idea?

  41. Ian Kirk July 5th, 2008 1:50 pm

    Just so you know that on a IIS (Windows) installation the rewrites create an invalid path, mixing \ with /. I was trying to figure out the code, but I’m too much of a PHP novice to figure it out.

  42. Chris Jean July 5th, 2008 2:28 pm

    Are you talking about the regular expression that modifies the resulting path before printing it out? If so, I’m aware of the issue and will be releasing a new version soon that has a fix for the problem.

    Thanks for the information.

  43. Alejandro Urrutia Daglio July 5th, 2008 4:13 pm

    Hey Chris I got Spanish translation for the plugin, tell me if you want to add it to send you.

  44. Chris Jean July 5th, 2008 4:54 pm

    That would be great. I’ve just sent you an email message. Thanks Alejandro.

  45. Chris Jean July 5th, 2008 5:19 pm

    I’m fairly certain that I know what the problem is, but I’d like to get some more information. I’m going to contact you by email again to get some details about your other plugins.

  46. Ian Kirk July 5th, 2008 7:36 pm

    From what I understand, that is correct. I’m glad to here that this is at least on the least.

    Thanks!

  47. [...] Para descargarlo porfavor vistar el blog del autor: [...]

  48. Henry July 5th, 2008 10:29 pm

    Hi there, You always seem to write about stuff that interest me, I think it’s time I bookmark your blog. :)

  49. [...] WP Easy Uploader | Real Themes Blog Plugin para upload de site Wordpress. Plugin e Temas sem precisar de FTP (tags: ftp plugin themes wordpress upload) [...]

  50. Alejandro Urrutia Daglio July 6th, 2008 6:46 am

    Emails sent with errors and spanish translation.

  51. Chris Jean July 6th, 2008 8:18 am

    Thanks again Alejandro. The translation looks good and will be released with the update later today.

  52. baron July 6th, 2008 12:40 pm

    hi. Thanks for plugin

    perfect.

    Regards

  53. [...] WP Easy Uploader is one plug-in that is long overdue. This plugin will make your blogging life easier by allowing you to upload new themes, plugins, or any type of file within your browser. No longer do you have to go through the hassle of using an FTP program to upload files. [...]

  54. Alejandro Urrutia Daglio July 7th, 2008 5:22 am

    Hi Chris, still having problems to upload files after upgrade to 1.06.

  55. 你一直在玩 » jabber on July 7th, 2008 8:18 pm

    [...] PS还装了个WP Easy Uploader,貌似很好用,特别在ftp不work的时候…自动解包。 Tuesday, July 8th, 2008 at 09:18 Categories: WP RSS feed for comments on this post Go comment [...]

  56. [...]   WP Easy Uploader,强化WordPress上传功能,同时操作更加简便。 [...]

  57. Plugin WP - Easy Uploader | pBlog July 8th, 2008 5:10 pm

    [...] plugin Easy Uploader permite enviar arquivos para o servidor onde está hospedado o seu blog através de uma página na [...]

  58. Erland July 8th, 2008 10:06 pm

    Hey, I’m getting a problem using this that every file uploaded using this plugin is owned by “webserver” which means that I can’t do anything with them - I can’t even delete them or change the permissions by http://FTP. Also, images uploaded using this don’t show up in the ‘Media Library’. Any suggestions?

  59. Chris Jean July 8th, 2008 11:00 pm

    Just as when you upload a file with FTP, it is owned by the FTP user, uploading with WP Easy Uploader causes created files to be owned by the webserver user. There is no way to change this due to permissions (FTP users cannot assign a different user and I cannot assign a different user on upload). In reality, this is a desirable functionality as it ensures that the files created by the plugin can be overwritten by the plugin or modifiable by other plugins.

    That said, files uploaded by WP Easy Uploader are changed to a permission of 666, which is read and write permissions for all users, after the file is written. There may be an issue with permissions on files extracted from archives, so I’ll run some tests to ensure that they get the 666 permissions set as well.

    As for the Media Library, WordPress pulls from the database to show those images rather than showing files in specific folder structures. Having an option to include the file in the Media Library is a good idea. I’ll look into adding that feature to the plugin.

  60. Erland July 9th, 2008 12:04 am

    Hi,
    Thanks for the speedy reply. Understand it better now. The Media Library feature would be awesome if it’s possible to have that in the future.
    Cheers,
    Erland,

  61. [...] interesante opción es WP Easy Uploader que hace que ya no sea necesario usar un cliente de FTP para subir archivos y que incluso permite [...]

  62. [...] Easy Uploader - alles mögliche ganz einfach hochladen. [...]

  63. [...] sekarang juga sudah ada plugin baru yang namanya ‘wp-easy-uploader‘ yang sangat membantu sekali dalam proses update blog [...]

  64. [...] 0 views No Comment Print this post  Email this post Last week, I wrote about the plugin WP Easy Uploader by RealThemes.com, but I figured an entire post dedicated to the plugin was in order. It’s [...]

  65. [...] Links WP Plugin Easy Uploader | 03 de maio de 2008 | Wordpress Permite enviar arquivos como plugins, temas, imagens, vídeos e outros para o servidor onde está hospedado o seu blog através de uma página na administração do WordPress. Se o arquivo estiver compactado ele será descompactado automaticamente após o upload. Visite: página do autor e página do plugin. [...]

  66. [...] your blog as easy as clicking a button. You no longer have to FTP in and manually upload the files. WP Easy Uploader Homepage If you liked this post and want to learn a little more about blogging, subscribe to my feed for [...]

  67. Illyria July 21st, 2008 6:08 am

    Hi,

    thanks for the fantastic plugin - it’s exactly what I’ve been looking for. Just one question:
    Is it possible to show files uploaded to the standard wp-upload directory in the Wordpress Media Library? Currently, it’s a bit awkward to figure out the URL of a file uploaded some time ago because it is NOT shown there.

  68. [...] WP Easy Uploader Code, Technology, and Random Ramblings [...]

  69. baron July 21st, 2008 11:07 am

    hi. Thanks for plugin

    perfect.

    Regards

  70. [...] WP Easy Uploader [...]

  71. dan August 12th, 2008 4:42 pm

    How do I get the uploaded images via easy-uploader to be listed in the “media library”?

    Thanks for the great plug!

  72. John Porter August 17th, 2008 9:23 am

    What a great plugin! Like the comment from dan on August 12th 2008, I would like to see the uploads in my media library, otherwise for normal uploads it’s a little pointless. Each uploaded file (even unzipped ones) need to be added to the posts table as type attachment for this to work.

    I miss the ability to be able to upload files to the media library without having to write a post to attach them to, I think that way it is done now is a little backwards and this is where a plugin like this could really clean up!!

    So far, brilliant!

  73. LieZMaya August 24th, 2008 12:14 am

    I like so much ur plugin
    this plugin very useful anda helping me :)
    Thanks

  74. [...] http://gaarai.com yang samu ini menciptakan plugin yang sangat usefull untuk kita. Please welcome, WP Easy Uploader Screenshot WP Easy [...]

  75. WordPress Plugin Competition Winners | I'm Knight September 16th, 2008 10:01 am

    [...] WP Easy Uploader - a powerful uploader which are special cater for wordpress, it include the feature that what you going to upload will be a plugin or theme, so that it will auto upload to the correct path and unzip it , because it support a lot of zip extension (zip, tar, gz, tar.gz, tgz, tar.bz2, and tbz) [...]

  76. [...] 三等奖获得者,WP Easy Uploader,这是一个非常棒的 WordPress [...]

  77. [...] Third place goes to WP Easy Uploader -WP Easy Uploader was created to make the life of WordPress bloggers easier by allowing an Administrator to add plugins, themes, and any type of file to WordPress directly from inside WordPress. You no longer have to load up an FTP client just to try out that latest plugin or to upload a text document for people to download. - http://gaarai.com/wordpress-plugins/wp-easy-uploader/ [...]

  78. [...] 获得第三名的插件:WP Easy Uploader [...]

  79. [...] 三等奖:WP Easy Uploader,这是一个非常棒的 WordPress [...]

  80. [...] WP Easy Uploader [...]

  81. [...] WP Easy Uploader - WP Easy Uploader was created to make the life of WordPress bloggers easier by allowing an Administrator to add plugins, themes, and any type of file to WordPress directly from inside WordPress. You no longer have to load up an FTP client just to try out that latest plugin or to upload a text document for people to download. [...]

  82. [...] WP Easy Uploader [...]

  83. [...] WP Easy Uploader [...]

  84. Plugins para Wordpress | La Cartumba September 24th, 2008 10:26 pm

    [...] WP Easy Uploader: una manera de evitar el FTP para tener que subir plugins, temas y demás a nuestro WP. Útil sobre todo si es un blog con varios usuarios y sólo uno tiene acceso http://FTP. [...]

  85. Shyam September 25th, 2008 5:49 pm

    Nice idea.. but cant get it to work.. i have wp2.6.2, so dont know if that is causing the issue..

    I am getting the following error:

    Warning: raiseerror(PEAR/FixPHP5PEARWarnings.php) [function.raiseerror]: failed to open stream: No such file or directory in /home/htbyssfy/public_html/wp/wp-content/plugins/wp-easy-uploader/pear/PEAR.php on line 572

    thanks

  86. Aouni September 27th, 2008 6:15 pm

    Erland, one of the commenters above said some important issues and nobody has replied. Are there are fixes to the problems he mentioned?
    Thnx.

  87. [...] WP Easy Uploader [...]

  88. gaarai September 29th, 2008 6:27 am

    Aouni, the problem Shyam experienced is now resolved. I just released a new version, 1.0.8, which Shyam confirms as working.

  89. Aouni October 5th, 2008 3:18 am

    gaari, thank you very much, now am going to use the plugin.

  90. Not A Niche October 6th, 2008 12:54 pm

    Hey Gaarai,

    your plugin is awesome and a real time saver, but I don’t think that the problem with the permission issue is resolve. Even with 1.0.8 I cannot delete or upgrade plugins which I uploaded with your plugin. It doesn’t allow me to change the permission settings in my ftp program nor in my cpanel.

    Would be great if you can fix this problem.

    Thanks

  91. 空中楼阁 October 10th, 2008 6:52 am

    [...] 插件三:WP Easy Uploader [...]

  92. WP Easy Uploader October 10th, 2008 8:36 am

    [...] multe despre el, aici si downloadul [...]

  93. Geeko October 10th, 2008 6:35 pm

    That would be great if we can have this plugin working on the user side : a little bit like notcot dot org

    Lets say that user upload images, and links then the admin approve or not, then publish it…

    and i think this plugin is pretty close to make it possible. Let me know if you think it is a good idea ?

  94. whall October 17th, 2008 1:34 pm

    I like the idea of this plugin a lot, as I set up blogs for friends now and again, and having something where they can upload plugins and themes without having to call me is AWESOME :)

    However, I have a problem similar to Shyam and I believe the problem is based on case-sensitive directories. the code requires File/Archive.php for example but on the filesystem, it’s file/archive. Same for PEAR.php vs pear.php.

    I don’t know if this is a limitation of the zip extraction, or if you didn’t preserve case when you built the zip file, but that’s the problem I’m having now.

    I’m not sure if the answer is to rename the directories and files or change the code :)

    here’s an example:

    Warning: main(PEAR.php) [function.main]: failed to open stream: No such file or directory in /homepages/0/d87225138/htdocs/blog/wp-content/plugins/wp-easy-uploader/pear/file/archive/reader.php on line 34

  95. whall October 17th, 2008 2:12 pm

    I did some more tests and I think my hosting provider changed out the unzip() tool on my server, because it seems it was packaged correctly. Not until I did \unzip -U (zip file) did it extract with the right case for the directories and files.

    So, I guess it’s a false alarm. Great plugin!

  96. WordPress Easy Uploader - so far, brilliant October 29th, 2008 8:55 pm

    [...] - but apparently can be used in plae of an FTP client to upload anything into WordPress. WordPress Easy Uploader. This entry was posted in WordPress Plugins. Bookmark the permalink. Post a comment or leave a [...]

  97. [...] WP Easy Uploader was created to make the life of WordPress bloggers easier by allowing an Administrator to add plugins, themes, and any type of file to WordPress directly from inside WordPress. You no longer have to load up an FTP client just to try out that latest plugin or to upload a text document for people to download. [...]

  98. Dan Sampson October 31st, 2008 8:21 am

    This is exactly what I needed! Thank you so much!

  99. 设计联盟 November 6th, 2008 10:57 am

    很是有用的插件!

  100. Wp插件推荐:Easy Uploader | 阿七涂画 November 6th, 2008 11:31 am

    [...]        插件出处:http://gaarai.com/wordpress-plugins/wp-easy-uploader/ [...]

  101. Rajiv Ashrafi November 11th, 2008 7:53 am

    Hi,

    First off - great plugin! It has saved me a lot of work!

    Anyways, I have a problem with the plugin. When I try to use remote upload to upload a 60-70MB file, there is no response. It submits the information and then loads a white page. I checked for the file and it wasn’t uploaded.

    Could you please look into it. Thanks!

  102. [...] WP Easy Uploader [...]

  103. Featured Plugins for October | Mamma Mac.com November 14th, 2008 2:18 am

    [...] WP Easy Uploader was created to make the life of WordPress bloggers easier by allowing an Administrator to add plugins, themes, and any type of file to WordPress directly from inside WordPress. You no longer have to load up an FTP client just to try out that latest plugin or to upload a text document for people to download. [...]

Leave a reply