Skip to main content

Managing Folder Regions

As an administrator, you can manage the storage region setting of any folder within your Files.com site using the CLI App.

List All Folders Assigned to Storage Regions

files-cli behaviors list --filter-by="behavior=storage_region"

Apply a Storage Region to a Folder

files-cli behaviors create --path="path/to/folder" --behavior="storage_region" --value="VALUE"

In the above example, replace VALUE with the value that corresponds to the storage region:

RegionValue
USA, Virginiaus-east-1
Australia, Sydneyap-southeast-2
Canada, Torontoca-central-1
UK, Londoneu-west-2
EU - Germany, Frankfurteu-central-1
Japan, Tokyoap-northeast-1
Singaporeap-southeast-1

Update the Storage Region of a Folder

Find the ID of the behavior by listing all folders that are assigned to a storage region. Then use the ID in the following command:

files-cli behaviors update --id=12345 --value="VALUE"

Remove a Storage Region from a Folder

Removing a storage region from a folder will return the folder to inheriting the storage region of its parent.

Find the ID of the behavior by listing all folders that are assigned to a storage region. Then use the ID in the following command:

files-cli behaviors delete --id=12345

Get Instant Access to Files.com

The button below will take you to our Free Trial signup page. Click on the white "Start My Free Trial" button, then fill out the short form on the next page. Your account will be activated instantly. You can dive in and start yourself or let us help. The choice is yours.