Uploading files to Spaces via a Frontend WordPress Page

We operate a multi-vendor eCommerce store focused on selling digital products. We would like that our third-party vendors via some Frontend Pages of our WordPress website can upload files and that they are saved in Digital Ocean’s Spaces.

We are looking for a scalable solution, reducing resource use of our WordPress server. What is the most resource-efficient way to do this?

  1. Upload Files to WordPress, then from WordPress to Spaces?
  2. Upload files directly to Spaces?

Please note, we also need to offer functionality in WordPress Frontend and Backend pages to query and list stored files by vendor and show/search them.

What is the best practice to do this?

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello, @WordPressHeavyUser

We already have a really cool tutorial on how to setup this. You can check it out here:

In this tutorial, we will use a WordPress plugin that works directly with DigitalOcean Spaces to use it as the primary asset store. The DigitalOcean Spaces Sync plugin routes the data of our WordPress media library to Spaces and provides you with various configuration options based on your needs, streamlining the process of using object storage with your WordPress instance.

Hope that helps!

Regards, Alex

Hi there,

Thank you. But here I want a top-notch solution not a compromise of what is just easy. If I upload first to WordPress - I am not using all the benefits of Digital Download Spaces. Also my website will need 2 x CPU and processing power, first to upload to WordPress, then to Digital Ocean. I am ready to develop something very tailor-made. I am not looking for standard software.

@WordPressHeavyUser The simplest solution is that you could give a try. It supports DO Spaces and will allow you to offload your media by just uploading them to the native WordPress Media Library.

It may not offer all you need, but would at least let you do the first point you mentioned with ease.