Spaces Reference

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.

The DigitalOcean API

The DigitalOcean API lets you manage DigitalOcean resources programmatically using conventional HTTP requests. All the functionality available in the DigitalOcean Control Panel is also available through the API.

Programmatically manage your data with Spaces’ AWS S3-compatible object storage API

Third-Party Clients

Third-Party Graphical Clients

Third-party graphical clients interact with Spaces in ways similar to the control panel. They avoid browser limitations but require configuration to connect. Some common clients are Transmit 4+ (macOS), Cyberduck 6.2.x (Windows, macOS), or FileZilla Pro (Windows, macOS).

Transmit 4 is a macOS-only file transfer utility that is fully compatible with Spaces.
Transmit 5 is the latest version of the macOS-only file transfer utility. It’s largely compatible with Spaces, but Transmit 4 is fully compatible.
Cyberduck is an open-source file transfer client for Windows and macOS that supports S3.

Third-Party Command-Line Tools

Third-party command-line tools facilitate both personal use and automation. The most common client is s3cmd (Linux, macOS, Bash on Windows).

s3cmd is a cross-platform command-line tool for managing S3 and S3-compatible object stores.
Examples of s3cmd commands for common actions with Spaces, like uploading and managing files, setting permissions, and encryption.

Third-Party API Client Libraries

Third-party API client libraries allow you to interact with Spaces programmatically. You can use AWS S3 SDKs and other S3 compatible libraries with Spaces.

The Spaces API is inter-operable with the AWS S3 API, meaning you can use existing S3 tools and libraries with it. These examples demonstrate how to perform a number of common Spaces operations in JavaScript, Go, PHP, Python 3, and Ruby.