Cloudflare
Files.com provides integration with Cloudflare, allowing you to make your Cloudflare R2 storage available to your users as Files.com folders. Cloudflare R2 provides a zero egress fee, S3 compatible, multi-cloud storage network, which you can now access with Files.com.
Cloudflare R2 integration at Files.com
With Files.com, Cloudflare R2 storage can be connected as a Remote Server Mount, making the Cloudflare R2 storage content available in real time, or connected as a Remote Server Sync, allowing you to push, pull, or synchronize files between Cloudflare R2 and other Files.com storage locations.
Integrating Files.com with Cloudflare allows your users to access Cloudflare R2 storage through Files.com, using a web browser, SFTP, FTP, WebDAV, the Files.com Desktop App, or the Files.com Command Line (CLI) App.
Files.com integrates with Cloudflare R2 using the Cloudflare R2 APIs via HTTPS, providing secure encrypted data transmission between the two platforms.
Connecting to Cloudflare
To connect to Cloudflare, create a new Remote Server, and select Cloudflare as the server type.
You must provide an Internal name for this connection. If you're managing multiple remote servers, make the name clear enough to easily identify this particular connection.
The Authentication Information is required because it contains the credentials Files.com will use for connecting to the remote system.
In addition, there are configuration options for selecting your preferences for the Dedicated IPs and Data Regional Routing settings for this Remote Server.
Once Cloudflare has been added as a Remote Server, you can integrate it with Files.com as either a Remote Server Mount or Remote Server Sync.
Authentication Information
The following items are required for connecting Files.com to Cloudflare:
Internal name for this connection - An internal identifier to refer to this connection.
Bucket - The name of your Cloudflare R2 bucket, as shown in your Cloudflare web portal > R2 > Overview page.
Endpoint - The URL of your Cloudflare R2 bucket but omitting the bucket name. The URL is shown in your Cloudflare web portal > R2 > Overview > bucketname page. The URL can be found at the top of the page, under the bucket name. It can also be found by selecting the Settings tab, in the Bucket Details section, as S3 API. NOTE: Make sure you omit the bucket name from the end of the URL prior to pasting it into the Endpoint setting.
Access Key - The Cloudflare R2 Access Key ID, as shown in your Cloudflare web portal > My Profile > API Tokens page, or in your Cloudflare web portal > R2 > Overview > Manage R2 API Tokens page.
Secret Key - The Secret Access Key that corresponds to the above Access Key ID, as shown in your Cloudflare web portal > My Profile > API Tokens page, or in your Cloudflare web portal > R2 > Overview > Manage R2 API Tokens page.
Add Remote Server Mount
Remote Server Mounts are created by mounting them onto an empty folder in Files.com. This folder should not be the Root of your site, although that is supported if you need it.
Add Remote Server Sync
After creating the Remote Server, you can use it to perform Remote Syncs between your remote server and Files.com.
Automations
Folders that have been configured with either Remote Server Mount, or Remote Server Sync, to Cloudflare R2 can also be used with automations, allowing you to include Cloudflare R2 storage buckets as source locations or destinations for your automations.
Case Sensitivity
Be aware of case sensitivity differences when copying, moving, or syncing files and folders between Cloudflare R2 and other storage locations. Cloudflare R2 is a case sensitive system whereas other systems may not be. This can cause files to be overwritten, and folders to have their contents merged, if their case insensitive names are a match.