Skip to main content

Managing Allowed Site Protocols

Enabling or Disabling FTP

Use this current snippet to see whether FTP is enabled for your site.

files-cli sites get --format csv --fields ftp_enabled

Update the setting using this CLI snippet. Replace NEW_VALUE with either true (to enable) or false (to disable):

files-cli sites update --ftp-enabled=NEW_VALUE

Enabling or Disabling SFTP

Use this snippet to see whether SFTP access is enabled for your site.

files-cli sites get --format csv --fields sftp_enabled

Update the setting using this CLI snippet. Replace NEW_VALUE with either true (to enable) or false (to disable):

files-cli sites update --sftp-enabled=NEW_VALUE

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.