Add From Server


This plugin offers limited support. Please do not expect new features or too many bugfixes. Features may be removed at any time.

Add From Server is designed to help ease the pain of bad web hosts, allowing you to upload files via FTP or SSH and later import them into WordPress.

This plugin is NOT designed to..
* Be used as a replacement for the file uploader
* Be used for migration of websites
* Re-import your files after moving webhosting
* Batch import media

This plugins IS designed to..
* Import files which are larger than your hosting allows to be uploaded.
* Import files which are too large for your internet connections upload speed.

WordPress does a better job of file uploads than this plugin, so please consider your needs before you use it.

You may also want to look at using WP-CLI for media import purposes:


How can I import files from other folders?

In 3.4, the plugin changed to limit the directories you can import files from.
If you wish to import files from other folders, you need to add the ADD_FROM_SERVER constant to your wp-config.php file.
For example:
define( ‘ADD_FROM_SERVER’, ‘/www/’ );

Why does the file I want to import have a red background?

WordPress only allows the importing/uploading of certain file types to improve your security.
If you wish to add extra file types, you can use a plugin such as: You can also enable “Unfiltered uploads” globally for WordPress if you’d like to override this security function. Please see the WordPress support forum for details.

Where are the files saved?

If you import a file which is outside your standard upload directory (usually wp-content/uploads/) then it will be copied to your current upload directory setting as normal.
If you however import a file which is already within the uploads directory (for example, wp-content/uploads/2011/02/ then the file will not be copied, and will be used as-is.

I have a a bug report

You can report bugs on GitHub and get support in the Support Forums.


نوومبر 25, 2020
This plugin saved my life. I couldn't get the build to "see" that I had increased the upload_max_filesize = 128M. It kept insisting it was 64MB. I tried wp-config.php, functions.php, php.ini, cPanel on my hosting account, everywhere. Setting wouldn't budge. No time to debug due to a client deadline. So, I uploaded the offending video file directly to the Uploads directory and then realized that the Media Library wouldn't list it. Found this plugin and I was rolling. Yahoo! Thank you so much.
نوومبر 6, 2020
Just what I was looking for, and works flawlessly, thank you!
اکتوبر 18, 2020
I use a shared hosting provider, and for that reason I use cloudflare to speed up access to my site and reduce load times, I have a free plan with cloudflare, and just had to spend the last hour trying to figure out why the heck I cant upload mp3 files to my host that are larger than 128 megabytes, after increasing the post size and upload limits with my host, I was getting "unexpected responce from server" which made no sense, neither myself or my host could figure out what was going wrong, turns out, CLOUDFLARES FREE PLAN LIMITS UPLOADS TO 100MB, this plugin allowed me to upload these files by ftp and import them to wordpress's build in media browser given it does NOT play nice with ftp uploads, YOU JUST SAVED MY DAY, THANK YOU FOR THAT, THIS PLUGIN IS PURE GOLD FOR THIS REASON, disabling cloudflare CAN be done, but at the expense of downtime while dns transfers back to my host, and I would have to either do this every time we post a file, or perminantly, and neither of these are good options! THANK YOU!
سپتمبر 24, 2020
My client had dozens of audio files uploaded via FTP that were not showing in the Media Library, which meant he wasn't able to select them in the interfaces of other plugins he was using that could only recognize them through the Media Library. This plugin saved us the hassle of having to identify, select, delete and re-upload all of the affected files. I was easily able to select the folder and "import" the files so that they became visible to WordPress. Best of all, I was able to bulk select all files in the folder without having to figure out which ones were already visible, and the plugin skipped them rather than creating duplicates. What a timesaver! Than you so much!
Read all 215 reviews

Contributors & Developers

“Add From Server” is open source software. The following people have contributed to this plugin.


“Add From Server” has been translated into 15 locales. Thank you to the translators for their contributions.

Translate “Add From Server” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Simplify the date handling


  • Better handling for / as the root path
  • Better compatibility with certain WordPress docker images
  • Better handling for some empty folders


  • Restore case insensitive alphabetical sorting


  • Plugin now requires WordPress 5.4+


  • The plugin now requires WordPress 5.1+ and PHP 7.0+. No reason other than why not.
  • Bumps the version to stop the invalid vulnerability warnings.
  • Cleans up code.
  • Removes the User Access Control. Any user with File Upload ability can now use the plugin.
  • Removes the Root Directory Control. The root directory is now assumed. You can use the ADD_FROM_SERVER constant to change it.
  • Removes the Quick Jump functionality.
  • Removes the ability to be able to select the date for imported media. It’s always today. Or, the 1st of the month if it’s stored in a dated folder.
  • Removed Media Manager integration, as it’s no longer shown with the WordPress Block Editor. Classic Editor is not supported by this plugin.