Multiple upload providers

I’d like to ask if it’s possible to setup multiple upload providers to be used based on a upload file type (mime type?). The idea is this - for images I want to use Cloudinary for it’s fancy CDN features and image optimization, but for files like .docx or .pdf (attachments to articles for the site I am building) I would like to upload just to /public folder on Strapi and serve that or it can be AWS S3.

I am unable to configure the CMS in this way right now. Is it something that could be added in the future?

Thank you!

P.S
Currently I am using a pretty ugly workaround, which involves SFTP uploads, syncing the files to static Node.js server and then adding a file name to Attachments collection in Strapi, which concatenates the hosted file url (slugify).

Currently no but would be a good thing to create a feature request on GitHub for :slight_smile:

Alright, will do, thanks! :slight_smile:

Hi. I need same feature. Is it added?

We have discussed it internally but no concrete plans or timeline for it.

I developed a plugin for admit multiple upload providers.

You can check here:
https://github.com/msoler75/strapi-provider-upload-multiple-provider