Development docs, not dev-docs.farwing.io. This build is 2.17.0-dev.17. The site is dev.farwing.io and licenses are dev-license.farwing.io.

Sync folders

Keep folders on a Mac, Windows PC, or Linux workstation continuously in step with folders on Farwing Server — without installing a second server. Sync folders works in Farwing Desktop and as a headless background service with the farwing sync command line.

Computer sync and Guest sync

  • Computer sync pairs your own workstation with your account on Farwing Server. Sync everything your Files shows or only the folders you choose, pick two-way, send-only, or receive-only sync, and keep files updated automatically. A computer never reaches anything your Files does not show. Included in Team, Business, and Enterprise plans.
  • Guest sync lets you share a single folder with external partners who do not have a server account. Guests verify their invited email address, pair Farwing Desktop, and sync only that folder in the direction you chose (two-way, send-only, or receive-only). Included in Business and Enterprise plans.

Connect a computer

  1. Open Sync folders in the portal and choose Connect a computer.
  2. Choose what the computer may sync: Everything in my Files, or Only these folders and the folders you add. You can change this later by opening the computer in the list.
  3. Choose how long the connection stays active: one year unless you pick a shorter time or a date. Only what your administrator allows is offered. Never appears only when the administrator allows connections with no expiry.
  4. Click Open Farwing Desktop on that computer, or enter the short pairing code (for example K7M3-P9Q2) in Farwing Desktop or farwing sync pair.
  5. In Farwing Desktop, choose Add a synced folder, browse to the folder on the server, and choose where it lives on the computer. Before moving any files on a first sync, Farwing previews what will upload, what will download, and what already matches — and never deletes files on first sync. To sync every folder shared with the computer at once, do not open one in the list: choose only where they live on the computer. Each one gets its own folder there, with one preview for all of them.

The computer is listed under the name it has for itself. To give it another name, open it in Sync folders and choose Rename beside its name.

In Farwing Desktop, the menu beside a server's name has Rename, which changes the name shown on that computer only, and Remove server, which stops syncing with it and forgets its access. The files stay on the computer and on the server.

Farwing Desktop syncs while it is running. Closing its window leaves it running next to the clock, where its menu has Quit Farwing Desktop. The same button is under Settings. It starts by itself, in the background, when you sign in to the computer; Start Farwing Desktop when I sign in under Settings turns that off. A computer that should sync with nobody signed in uses the headless command line.

You can also start from a folder: in Files, open the folder and choose Sync → Sync to my computer or Sync with guests.

When something needs attention

Farwing Desktop shows one status for each server and each folder: up to date, syncing, needs attention, or stopped. A file that could not be synced is listed under Problems in plain words, such as "There is not enough space on this computer" or "The file is open in another program", with the files it applies to. The same problems appear in the portal when you open the computer under Sync folders, with what to do about each.

  • Try again syncs the file now. The problem goes away when the file gets through.
  • Leave out stops Farwing trying the file until you ask, or until the file changes. The other files keep syncing.
  • Not enough space: Farwing checks that a file fits before it moves it, on the computer and on the server. A file that does not fit waits, and syncs by itself when there is room. Space in Farwing Desktop shows how full each drive and each place on the server is, and how much is still waiting to arrive.

Activity lists what was sent, received, deleted, or failed. Search it by file name or show one kind of entry. Farwing Desktop keeps 90 days of activity.

Connections that have ended

A computer whose access was revoked, removed on the computer, or has expired moves to Past connections. Open it to see what happened and what it synced.

  • Connect this computer again starts a new pairing with the same name, folders, and length as before.
  • An expired connection can be given more time instead.
  • Remove from this list takes it out of your list. Nothing changes on the computer or in your files, and your administrator keeps the record.

A folder you no longer share with guests is listed the same way, under No longer shared.

Built for slow, metered, and interrupted links

  • Priority and small files first: Mark urgent folders as High priority, when you add the folder or later on its card. Folders with a higher priority sync first. Within the same priority, smaller files move first so everyday work is not stuck behind a huge file.
  • The fastest route for large files: In Farwing Desktop, a file of 64 MB or more takes the fastest route the server offers: Farwing UDP, then Farwing TCP, then HTTPS. Smaller files use HTTPS. A server's Settings tab has Protocol, where you can keep that server to one route, and shows the fastest transfer so far.
  • Always says what it is doing: While a large file is being checked, saved on the server, or verified, its row names the step, how long it has run, and about how long is left.
  • Nothing sent twice: Files are checked with BLAKE3 checksums and interrupted transfers resume cleanly.
  • Speed limits, quiet hours, and monthly budgets: Cap upload or download speed all day or during work hours, defer large files on slow links, and set a monthly data cap per server.
  • Conflict and bulk-delete protection: When both sides edit the same file, Farwing keeps both copies instead of overwriting work. If a large share of a folder suddenly disappears, a safety stop pauses deletions until you confirm.
  • Deleted folders keep new work: When a folder is deleted on one side, Farwing removes only the files it had already synced. A file that was added or changed on the other side stays, and the folder stays with it.

Verify or move a local folder

  • Check everything: Compares the BLAKE3 checksum of every file on the computer and on the server, with live progress and a Cancel button. It reports how many files match, how many changed since the last sync and will sync normally, and how many are damaged or different. Nothing is changed by the check. Repair replaces each damaged copy with the good one, and keeps both copies where nothing says which is right.
  • Open the folder: Open a synced folder, or show a single file, in the computer's file manager from Farwing Desktop.
  • Change local folder: Move a synced folder to a new drive (every copied file is BLAKE3-verified before switching, and cancelling leaves your original folder untouched) or start fresh in the new folder.
  • Change the direction: Direction on a folder in Farwing Desktop switches it between two-way, send only, and receive only, and syncs it at once. No file is deleted because of the change. With two-way, files that are on the server but not on the computer are received, and files that are only on the computer are sent. With send only, files that are only on the server stay there. With receive only, files that are only on the computer stay there. A folder the connection can read but not change can only be received.

Headless command line

farwing sync pair https://files.example.com --code K7M3-P9Q2
farwing sync add files.example.com Marketing /mnt/work/Marketing
farwing sync run

Every farwing sync subcommand also supports --json for scripting and monitoring.

Security and access control

  • Each paired computer receives its own device token, isolated from portal sessions and API keys.
  • While it runs, Farwing Desktop and farwing sync run replace that token with a new one about every 15 minutes. If a token that was already replaced is used to ask for a new one, the server ends the connection and emails its owner, and the computer has to be connected again from the portal. The email needs email delivery to be set up; the portal shows the ended connection either way.
  • Farwing Desktop keeps the token in the system credential store: Windows Credential Manager, the macOS Keychain, or the Secret Service on Linux. On Windows, farwing sync keeps it in Windows Credential Manager too. On Linux and macOS it runs as a service with nobody signed in, so it keeps the token in a file in its state folder that only its account can read.
  • Only one farwing sync run works on a state folder at a time. A second one stops with a message instead of sending the same files twice.
  • Revoking a computer or guest invite in the portal stops access immediately while leaving files on the computer untouched.
  • Administrators can review all connected computers, choose whether every connection must expire and the longest it may last, limit Computer sync to chosen groups, and require a minimum sync client version under People → Sync folders. When a shorter limit is saved, connections and shared folders that would last longer are shortened to it. The page says how many before you confirm.