Skip to main content

Drive Files.com From A Terminal Or A Script

Move files and manage your whole Files.com site without opening a browser. Type a command to move a file now, or drop that same command in a cron job and let it run every night with no one watching.

Windows, macOS, and Linux
Built for headless servers
Scriptable end to end
Files.com command-line app

Run Your Whole Site From The Command Line

The Files.com Command Line app lets you upload, download, and sync files straight from a terminal. With admin access, you can manage the site itself the same way.

Files.com is API-first, and the CLI rides on the same API as the web app. Anything you can do in the web app, you can do from the CLI. That makes it the right tool for the machines that have no screen and the work no person wants to do by hand.

One Tool That Runs Anywhere

The same command-line app works across every system your team runs, and it moves files as fast as anything we make.

Runs On Every System You Have

One tool for Windows, macOS, and Linux, built for both ARM64 and x86_64 chips. The same commands work the same way on a laptop, a server, or a container, so you learn it once and use it everywhere.

Built For Headless Servers

No screen and no mouse needed. The CLI is made for the kinds of machines that never have a window open: servers, containers, and remote boxes you only ever reach over SSH. So your file transfers run on the same machines your jobs already run on.

As Fast As It Gets

The CLI moves files at the same speed as the SDKs and the Desktop App, because they all share the same high-speed transfer engine. Customers have pushed it over 20 Gbit/s. When a deadline is tight, you get the fastest path between your machine and Files.com.

Picks Up Where It Left Off

Transfers run in parallel and resume on their own. If a big upload or download gets interrupted, the CLI continues from where it stopped instead of starting the whole thing over. A dropped connection costs you a few seconds, not the whole job.

Made To Be Scripted

The CLI is built to be called by other programs, so you can automate file work and site admin without a person in the loop.

Drop It Into Any Script

Call the CLI from cron jobs, shell scripts, PowerShell, CI and CD pipelines, and scheduled tasks. Whatever already runs your jobs can run your file transfers too.

Automate The Boring Work

Hand off the daily uploads, downloads, and folder cleanup to a script and let it run on its own. Your team stops doing the same file chores by hand every morning.

Run Admin Tasks From The Terminal

With admin access, the CLI does the management work too. It can create users, set permissions, and manage share links, inboxes, and folder settings. So you can script the setup of a whole site, not just move files.

Signs In With An API Key

The CLI signs in with a Files.com API key, so an unattended machine never has to store a person’s password. The same key approach drives the rest of the API and SDKs, so one credential works across all of them.

The Files.com CLI App running in a terminal

Get Started In Minutes

Download the CLI for your system, sign in with a Files.com API key, and run your first transfer. The full command reference, install steps, and examples live in the developer docs.

The CLI is included on every plan, so scripting and automation are part of Files.com from day one.
Read The Docs

How Plants Move Production Data With It

Unattended transfers between manufacturing sites are the CLI’s most common job.

Scripted Pulls That Do Not Die Quietly

A scheduled job at the receiving plant runs the CLI to pull what landed in a folder and clear it, with exit codes and logs a scheduler can act on. The batch file driving a desktop SFTP client, which stopped silently when a path changed, is gone.

The Landing Folder Nobody Has To Babysit

Plant systems drop exports into a Files.com folder, corporate jobs pull them on schedule, and the transfer between sites runs with no one in the loop and a record of every run.

Command-Line App Questions

The Files.com CLI runs on Windows, macOS, and Linux, on both ARM64 and x86_64. The same commands work the same way on a laptop, a server, or a container, so you learn it once and use it everywhere.

The Files.com CLI runs on headless servers with no screen or mouse. It is built for servers, containers, and remote machines you only reach over SSH. It signs in with an API key, so it runs unattended.

The Files.com CLI is built to be called by other programs: cron jobs, shell scripts, PowerShell, CI and CD pipelines, and scheduled tasks. Drop it into a pipeline and your files move on a schedule, with no one at a keyboard.

The Files.com CLI resumes an interrupted upload or download from where it stopped instead of starting the whole thing over. Transfers run in parallel and pick back up on their own, so a big job survives a flaky connection.

With admin access, the Files.com CLI creates users, sets permissions, and manages share links, inboxes, and folder settings. You can script the setup of a whole site the same way you script a transfer.

The Files.com CLI authenticates with either an API key or a username and password, and it supports two-factor authentication when your site requires it. For an unattended machine, an API key is the usual choice. It needs no interactive login, and it can be scoped to just the permissions the script needs. Every action it takes is recorded in the Files.com audit log.

Install the Files.com CLI on the same host and call it from the scheduled task in place of psftp. It signs in with an API key, pulls or pushes the folder, resumes interrupted transfers and returns real exit codes, and every run is recorded in the Files.com audit log rather than in a console window nobody watched.

Because a desktop SFTP client in a batch file has no one to report to. The Files.com CLI returns a non-zero exit code and a clear error when a path, credential or key is wrong, so the scheduler can alert, and file-delivery monitoring on the destination folder flags the run that never delivered.

Put Files.com On The Command Line

Download the CLI for Windows, macOS, or Linux, sign in with an API key, and move files or run your whole site from a terminal or a script.

No credit card required • Free for 7 days • Live in minutes