Spaces is an S3-compatible object storage service that lets you store and serve large amounts of data. Each Space is a bucket for you to store and serve files. The free, built-in Spaces CDN minimizes page load times, improves performance, and reduces bandwidth and infrastructure costs.
You can upload one or more files to a bucket via the control panel. Because of browser limitations, control panel uploads work best with files smaller than 2GB and batches of less than 100 files. For large files and batches, you can use a third-party client or the DigitalOcean API.
From the main page of your bucket, you can stage files for upload in two ways:
Everything you stage is visible in the Spaces selection window, which stays open to allow you to continue to stage more files.
This window also lets you set the file permissions for all staged files. The X link next to each item unstages files or folders. Folders and their contents are treated as a unit, so removing a folder here unstages the folder and all the files and folders within it.
Click Upload Files to upload the items you’ve staged with the permissions you’ve selected.
To download a file from a bucket to your local computer, open the More menu of the file.
Select Download to start a download of the item to your local machine. Depending on your browser’s preferences, the download may start automatically or you may be prompted to save the file first. The item may also open in your browser, depending upon the file type and your browser.
To delete a file from a bucket, open the More menu of the file.
Select Delete to delete the file. Deletions are permanent, so you need to confirm the deletion in the window that opens before the item is actually deleted.
You can delete multiple files at once by selecting them, opening the Actions menu, and clicking Delete. This will similarly prompt you to confirm the deletion.