Automatic header update of images already uploaded to the spaces server

I have images in my bucket that are not with the ‘ContentDisposition’: ‘attachment’ header. To add this header, I have to open each of the subfolders and add that header by ticking 50 or more times and then go to ‘manage metadata’ and finally set the header to ‘ContentDisposition’: ‘attachment’.

However, I have a lot of media files in many different folders, selecting these files one by one and then configuring them is a time consuming process. The system does not allow selecting multiple folders to apply the new header to all at once.

Please is there any way to change the header of all digital ocean spaces images automatically? That is, perform the update of all images at once

Submit an answer
Answer a question...

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