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

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.

Start My Free Trial

©2024 Files.com. All right reserved

FILES.COM

  • Start My Free Trial
  • Pricing
  • Docs
  • API and SDKs
  • Contact

CONTACT & SUPPORT

support@files.com

(800) 286-8372

Monday–Friday

9am–8pm Eastern