Copying multiple files to the WordPress media library is easy enough. However, copying hundreds to your website is another story.
Unfortunately, you can’t just simply copy files into the Uploads folders in your WordPress directory. While the files will appear in your folder, they will not appear in your media library. WordPress doesn’t not recognize files that are not uploaded via the dashboard uploader.
In today’s Weekend WordPress Project, I’ll show you a straightforward way to transfer media to your site via FTP.
Uploading with Add From Server
The Add From Server plugin offers a simple solution to bulk uploading media to your site. The plugin lets you import media and files into the WordPress Uploads folder from any location on your server.
To use the plugin, install and activate it. Then go to either the Plugins interface and click on Add From Server > Import Files or in the admin sidebar go to Media > Add From Server.
The plugin will display folders in your WordPress directory. Choose the location of your files and check each of the files you want to upload to your media library. If you want to select all files, check the box next to “File” at the top.
While testing this plugin, I uploaded 500 images from my desktop to the Uploads folder in my WordPress site. Next, I opened Add From Server and selected “Uploads Folder.” Then I selected all files and at the bottom of the page I clicked “Import.”
It took a little while for the plugin to do its thing (I had 500 files, after all), but sure enough the files all appeared in my media library.
The plugin was last updated in May 2013, but still works fine and I had no problems using it with WordPress 3.9.1. Even with thorough testing and hundreds of files I didn’t receive any errors.