Spaces Object Storage 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 built-in Spaces CDN minimizes page load times and improves performance.
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.
To search a bucket for a specific file, go to the bucket’s Files tab and enter the filename into the search bar. This displays all files that begin with a matching string in the current directory.
The search feature only supports prefix searching, meaning that it only returns files with names that begin with the string you searched for. There is no wildcard search character. Additionally, it only returns files in your current directory, meaning it cannot search within folders.