How to Upload, Download, and Delete Files

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.

Upload Files

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:

  1. By dragging and dropping, which allows you to add files, folders, and items nested inside folders.
  2. By selecting Upload Files, which opens a window to add files from your local computer, but doesn’t support adding folders.

Everything you stage is visible in the Spaces selection window, which stays open to allow you to continue to stage more files.

The Upload File window

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.

Download Files

To download a file from a bucket to your local computer, open the More menu of the file.

The more menu of a file in a bucket

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.

Delete Files

To delete a file from a bucket, open the More menu of the file.

The more menu of a file in a bucket

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.

Search Files

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 bar in the bucket's Files page

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.