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.

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

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.”

image

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)

image

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

image

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!

image

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

image

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

image

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!

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

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!

Discover the Power of AI for Your Business
Unlock the potential of cutting-edge AI technologies to transform your business operations. Whether it's predictive analytics, automated workflows, or intelligent decision-making tools, our experts are here to guide you through it all.

Book a Free Discovery Call today to explore how AI solutions can drive efficiency, reduce costs, and give you a competitive edge. Let's discuss your goals and find the perfect AI strategies tailored to your business needs.
Book Your Free Call Now

Fully Managed - Total Care WordPress Hosting

We offer Total Care Fully Managed WordPress hosting. We take care of your hosting, maintenance, updates and security so you can focus on what you do best!

Content Marketing Services

We act as an extension of your marketing team. Content creation, social media marketing, SEO, sales funnels and more!

Start a conversation

We offer professional web design, hosting and digital marketing services to help you increase your visitors and conversions!
Contact us for a review or audit

Meet a few of our Team

Chris
Graphics & Web Design
Karen
Project Management & Scheduling
Nessa
Exercise & Counseling
Bob
Founder/Owner

Who is Cyber Innovation?

A team of creatives and engineers, focused on solutions that help our clients grow and outrank their competition! We know it takes more than just a website. You need a digital marketing system, with consistent content added over time while monitoring the results!
Copyright All Rights Reserved ©2024 Cyber Innovation Website Design, Web Hosting & Marketing Agency.
comments-owordpressrocket linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram