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 The File Orchestration Platform Today

4,000+ organizations trust Files.com for mission-critical file operations. Start your free trial now and build your first flow in 60 seconds.

No credit card required • 7-day free trial • Setup in minutes