Adding large files to WordPress media library via ftp or file upload

Home > Blog > Adding large files to WordPress media library via ftp or file upload

Adding large files to WordPress media library via ftp or file upload

Adding large files to WordPress media library via ftp or file upload

While working on WordPress project with a client today we ran into an interesting problem.

Our client had a 30mb audio MP3 file they wanted to host on their website for playback by anyone who registered for the free newsletter.

The page was hidden and re-directed after successful newsletter registration. Of course this page and MP3 can be found by search engines so if this is a problem for your situation and you don't want people finding your hidden files don’t host your MP3 or any large file in this manner!

WordPress support for large files

There are numerous was to create a link, to a large file in a page.

Or you can add a plugin to host, stream or play the MP3 files in WordPress.

Some of you reading this will think they are crazy for hosting a large file and worry about monthly bandwidth limits?

They have an unlimited account and we aren’t hosting top 40 music files or movies so it’s relative to the hosted content!

The File Upload Problem

The problem was the client couldn’t upload the MP3 file via the WordPress Media Library upload.

The PHP limits were restricting large files commonly anything over 8mb???

To get around this problem and avoid PHP editing we helped the client this way:

We logged into the website cPanel and simply clicked on “File manager.”


Next you double click on sub-folders or click the plus in the folder structure to dig down to the WordPress content library. The window will be open in the right pane.

example: ../wp-content/uploads/2010/2 (of course your year and month will change with the date you upload)


With the folder open on the right next click “Upload” in the top toolbar.


You will see your maximum file size upload. Often this is greater than the WordPress limits but if it’s less than your file size STOP HERE and contact your web host to increase your limit!


Next simply click Browse and choose your file and upload.

Back to WordPress

Now login to your WordPress Dashboard and add the plugin “Add to Server” from Dion Hulse


Next go to your Media Library in the Dashboard and you’ll see a new link


Next choose Add from Server and you are taken to a file browser similar to file manager in cPanel.

Simply drill down to your directory and choose the file or files and import.

You will now find your files in Media Library!

Other considerations

Maybe you have a need to upload a large number of files?

It could be a combination of photos, video, documents or ??

Maybe you want to FTP a bunch of files and then add to the media library instead of uploading one by one in the media library!

If you find any other solutions or ideas please post them here!

By | 2017-02-15T19:33:02+00:00 February 12th, 2010|Plugins We Use|55 Comments

About the Author:

I'm a life long entrepreneur and WordPress guru with a passion for travel, real estate and beach living! Dad, husband and lover of life!


  1. Karen Hood-Caddy February 16, 2010 at 8:29 am - Reply

    Hey Bob,
    I loved that you used ‘my’ problem to teach others.
    Thanks for being such a great help!
    You rock!
    Karen H-C

    • RAHUL October 15, 2012 at 3:36 am - Reply

      I am now doing the method u had said on this page if it works well . i always be thanking you

  2. Stewart March 11, 2010 at 11:10 am - Reply

    Does bandwidth really make a big difference?

    • bobrandklev April 7, 2010 at 5:37 am - Reply

      Yes bandwidgth can make a difference in many areas. Your upload speed, the bandwith for your server, bandwidth of your website visitor etc.. I suggest hosting large audio/video files with online providers like YouTube and Viemo so they can manage the bandwidth and you embed the video into your WordPress website.

  3. Younes April 7, 2010 at 3:49 am - Reply

    Hi there,

    I wanted to add a big swf file using WordPress uploader, but I couldn’t. I tried your solution step by step but when I pressed import button nothing happened and the file is not added to library!

    could you help me to solve the problem?



    • bobrandklev April 7, 2010 at 5:34 am - Reply

      Remember to first upload your large SWF file via FTP to your WordPress site under your wp-contents/uploads directory. Then scan for updates and your file will be added to the media library for use in your website.

      Your web hosting company may limit the maxiumum upload file size via WordPress and even vial FTP. If your upload is limited none of these steps will work.

      If your video isn’t anything private upload to or and then use the embed code to place in your WPsite vs. trying to host a large video file and paying for the bandwidth usage.

  4. Pat Redmond May 11, 2010 at 5:21 am - Reply

    Great solution! I’ve tried several others and this one worked without editing php!

  5. Jasmine Turner May 24, 2010 at 7:46 pm - Reply

    Copyrighting is very important specially if you wrote original articles both online and offline.,~”

  6. Therm June 14, 2010 at 10:50 am - Reply

    PERFECT. THANKS!! I LOVE a good plugin. I’ve been looking for a solution for this for a couple weeks now.
    Now I have to do something about the audio quality.

  7. Alison Swendsen June 30, 2010 at 6:39 am - Reply

    I can see that your published content is rather observant as it talks about an assorted range of great info. Well, was wondering whether you would willing to exchange contacts with my web site, as I am searching to compile more contacts to further extend and get better web exposure for my website. I don’t really mind you positioning my web links at the front page, just accepting this links on this particular link is good and adequate. Also, please reach me at my website if you are interested in the link exchange, I would really value that. I would like to thank you and hope to hear from you as soon as possible!

  8. Dwight July 3, 2010 at 2:37 am - Reply

    Thank you so much!!!!!!!

  9. Todd J. List July 13, 2010 at 5:10 pm - Reply

    Thanks for the tip on the plugin. I’m working with a theme that uses custom fields for various post images. It uploads them to the media library, but doesn’t register them.

    This was a great solution while I’m in development. I’ll have to find something easier (or fix the theme’s upload process) before I hand the site over to my client.

  10. Don Gilbert August 20, 2010 at 8:17 am - Reply

    Thanks for this – I was about to write a plugin to handle scanning the uploads folder for new media until I found your post – very helpful!

  11. Chris August 29, 2010 at 9:26 am - Reply

    I just want to say thanks for helping me out with this… was struggling going down the php route and then found this post through google… works like a charm!

    Chris Rogers
    Bath personal trainer

  12. Matt September 30, 2010 at 6:06 pm - Reply

    Thanks a bunch. Saved me a ton of time. 🙂

  13. Carey October 4, 2010 at 3:47 pm - Reply

    Hey Bob,
    I was trying many different ways to do this and after about an hour I said hmmmm..I bet I’m not the only one with this problem. So Google search I go and BAM! You solved it.

    Thanks for this post. I’m going to post my problem on my site and link to you.


    • bobrandklev October 5, 2010 at 7:06 am - Reply

      No problem Carey,

      We’ve been so busy with projects the past 6 months we are behind on our blog posts. We’ll have more tips and tricks in the days and weeks ahead!

  14. Maggie October 24, 2010 at 6:16 am - Reply

    Thanks. This is great. Just what I’ve been looking for.

    I use Filezilla to upload photos and larger wmv’s and avi’s – I find it much quicker and easier for uploading multiple files than through the CPanel interface.

  15. G-ster November 8, 2010 at 4:28 am - Reply

    Ah, so simple ! You guys have nailed a very tricky question with a nice, simple answer. Crikey, have you read some of the other complicated, long-winded answers that have been posted about this topic. Thanks guys.

  16. D December 2, 2010 at 8:18 am - Reply

    This was SUPER helpful! Thanks so much for posting – I literally had my problem solved within 5 mins.

  17. eddie February 21, 2011 at 5:26 pm - Reply

    I noticed the 50mb limit on the file manager, so I called my, my hosting company, to ask what can I do/ I was instructed to use “unlimited ftp” with (no additional charge)… and it work. Thanks 🙂

  18. blogging Tips October 2, 2011 at 6:23 am - Reply

    thanks for your tutorial, this is work 100% thanks again

  19. Signs November 3, 2011 at 7:21 am - Reply

    Thanks for sharing! fantastic wordpress CMS.

  20. Tan November 7, 2011 at 6:08 am - Reply

    Thank you SO much for this! I was getting entirely TOO frustrated with this issue. I did a Google search and this came up right when I was at my wits end. I appreciate you taking the time to share the solution, it’s working perfect for me … also, too, for adding that plugin–> add from server.

    I’m so relieved!

    God bless!

  21. Chris November 11, 2011 at 10:14 am - Reply

    You are a life saver!

    This goes on my Top 10 List of Must-Have Plugins….. of all time.

    Kudos 🙂

  22. Matt January 11, 2012 at 6:25 pm - Reply

    Thank you !!!!!!!!!!

    Thank you!!!!!!!

  23. Colin Crawford April 18, 2012 at 12:36 pm - Reply

    Great plugin, needed to add the image files to Media Library and this did the trick but I have now got more files than I started with???? It has seemed to have made different sized thumb nails of some of the images for some strange reason. At least they’re in the same folders as before.

    Many thanks, will use this plugin again.

  24. Luci Rios June 3, 2012 at 8:06 am - Reply

    Thank you so much!

  25. Rodney C. Davis June 19, 2012 at 2:03 pm - Reply

    I’ve been looking for a solution to this problem for several days now. This is the only one I’ve seen that actually solves my problem for my brand new blog. I don’t need to look any further. Thanks you so much.

  26. Geekyard July 28, 2012 at 9:48 pm - Reply

    I have been looking for Media Folder in FTP. After reading this post only I came to know about the exact location 🙂

  27. Cathy S. Hamilton December 12, 2012 at 9:52 pm - Reply

    I thank sweet Jesus for leading me to your article. And thank you for solving my problem! God bless you!

  28. Aplusplus March 31, 2013 at 3:50 am - Reply

    Thank you!

  29. Karen Emanuelson April 29, 2013 at 8:09 am - Reply

    Your instructions were easy-to-follow and the solution worked flawlessly. I was able to successfully upload a .mp3 file of a radio interview. Thank you!

  30. Steam Wallet Hack May 15, 2013 at 11:34 am - Reply

    Does it still work? I’ve heard there are lot of errors because of the new WP version?

    • bobrandklev May 21, 2013 at 8:17 am - Reply

      Yes it still works but future development of the plugin has been halted… we are hoping someone picks up future development!

  31. omer May 21, 2013 at 7:11 am - Reply

    What about categories? I have a client who wants to bulk upload images, but also at the same time, assign them to specific categories.

    • bobrandklev May 21, 2013 at 8:16 am - Reply

      You can group upload into subfolders then import to a category… it’s been a while but that’s how I remember it 🙂

  32. Sumit August 30, 2013 at 11:36 am - Reply

    I was searching for sol since last 5 hours, it worked perfectly. Thanks 🙂

  33. Mike C. November 22, 2013 at 11:54 am - Reply

    Worked beautifully – thanks man appreciate this.

  34. Rich February 14, 2014 at 1:41 pm - Reply

    This worked great! Followed the directions and it worked like a charm. Many thanks!

    • bobrandklev February 17, 2014 at 6:11 pm - Reply

      Thanks for the comment, let us know if we can help with anything else

  35. John Smith May 12, 2014 at 12:44 pm - Reply

    Thanks for this post. I tied many plugins for large video format and non worked. Uploading from the FTP worked great! Thanks!

  36. Lou Andreas-Salomé pdf June 24, 2014 at 11:37 am - Reply

    Howdy! I could have sworn I’ve been to your blog before but after going through a few of the posts I realized it’s new to me.
    Nonetheless, I’m certainly pleased I came across it and I’ll be bookmarking it and checking
    back often!

  37. Deane July 11, 2014 at 8:02 am - Reply

    Thank you so very much for this! Life saver!

  38. ben July 23, 2014 at 12:36 pm - Reply

    SWEET 🙂 Okay okay, unfortunately there are two issues.

    The first: if I have ftp’d the image and already put it in a blog post, while Add From Server will add to media library, wordpress will still see it as unattached which means I would have to manually attach.

    Second: Add From Server has not been updated in a year … :/ Considering how awesome it is, I hope this plugin gets some attention going forward.

    Fortunately, works on my version of wordpress.

    Thanks for the tip!!!

  39. Gregg Hedley October 23, 2014 at 11:37 pm - Reply

    Ok I have lots and lots of lectures to upload for a Professor. like 200 mps. I want to have a cata log and make them available to anyone who wants to download them for free.

    • bobrandklev October 24, 2014 at 3:03 pm - Reply

      Gregg I’d suggest using WP Download Monitor for your project:

      You can upload your files to folders and have WP Download monitor scan the folder.

      We’ve set this up on a number of sites, let me know if you need help

  40. Nishant Shah December 29, 2014 at 12:35 am - Reply

    Worked beautifully – thanks man appreciate this.

  41. sam January 25, 2015 at 5:05 pm - Reply

    how do i use the plugin but i have folder from
    but the plugin will insert all in
    at destination… how do i reorganize them in same folders?

    • bobrandklev January 27, 2015 at 8:21 am - Reply

      Sam, just have NextGen scan the existing folders in place, the plugin is for adding files so the media library sees them. If you are using NextGen just have it scan the folder and nothing will change.

  42. Jennifer NM January 28, 2015 at 11:00 am - Reply

    Worked beautifully, even though the Add From Server is now a bit old. Thanks so much for the screenshots and clear instructions. Wasted an hour last night and this was easy!

  43. Farhan Shah May 19, 2015 at 1:13 am - Reply

    Is this plugin work with multisite, I am trying to upload my media files with this plugin but giving error “2-color-100×100.jpg was not imported due to an error: Unable to create directory uploads/2015/05. Is its parent directory writable by the server?” Can you help how can I resolve this problem?

    • bobrandklev May 30, 2015 at 10:15 am - Reply

      I’m sorry I’ve never had this error, is this happening with only one file or every file you try to upload?

  44. Paulina June 16, 2015 at 4:01 pm - Reply

    Informative article, exactyly what I needed.

  45. Shawna-Leigh April 12, 2016 at 11:18 am - Reply

    THANK YOU!!!!!!!!!!!!!!! I have been fighting this for THREE DAYS!!!!

Leave A Comment