@uppy/aws-s3-multipart upload with digitalocean spaces?


I wanted to check whether it is possible to use the @uppy/aws-s3-multipart plugin (https://uppy.io/docs/aws-s3-multipart/) to upload to digital ocean’s spaces? I saw in the documentation for the non-multipart s3 plugin (https://uppy.io/docs/aws-s3/#DigitalOcean-Spaces) that that plugin supports s3, but not sure whether the same approach would work for multipart plugin.



I had the same situation you described.
You need to set the correct CORS configuration in your bucket. For that you can upload a configuration file to Digital Ocean by s3cmd.

First of all, set up s3cmd:

Then create the xml file (CORS file sample):

<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">

Finally, upload it to DO:

$ s3cmd setcors FILE s3://BUCKET

Pudieras poner el ejemplo completo de como subir archivos a Digital Ocean desde Uppy JS?