Skip to main content

Managing Remote Server Mounts

As an administrator, you can manage Remote Server Mounts within your Files.com site using the CLI App.

List All Remote Server Mounts

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

Creating a Remote Server Mount

First, you'll need the ID of the Remote server which can be found using this command:

files-cli remote-servers list

Then you can configure the Remote Server Mount using this command:

files-cli behaviors create --path "path/to/folder" --behavior "remote_server_mount" --value '{ "remote_server_id": <ID>, "remote_path": "/remote/server/path/to/remote/folder" }'

In the above command, replace <ID> with the ID found with the previous list command.

Updating a Remote Server Mount

You'll need the ID of the Remote server which can be found using this command:

files-cli remote-servers list

Then you can update the Remote Server Mount using this command:

files-cli behaviors update --path "path/to/folder" --behavior "remote_server_mount" --value '{ "remote_server_id": <ID>, "remote_path": "/updated/path/to/remote/folder" }'

In the above command, replace <ID> with the ID found with the previous list command.

Delete a Remote Server Mount

files-cli behaviors delete --id=12345

Ready to Transform Your File Infrastructure?

Join over 4,000 organizations that trust Files.com to manage their mission-critical file flows. Start your free trial today and see why we're the #1 rated file orchestration platform.

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