How files on demand work in Finder

Cloud-only files appear in Finder but download when opened. Here is what each state means and what happens offline.

Updated

Cloud drives on the Mac can show every file in Finder while keeping only some of them on your disk. The rest are placeholders: they have a name, size and icon, but their contents live in the cloud until you open them. This is usually called “files on demand”. This page explains the two states a file can be in, how to move between them, and what to expect when you open a file or go offline.

The examples use Roomtide’s labels, but the ideas apply to any cloud drive built on Apple’s File Provider framework.

Cloud-only and downloaded

State Contents on your Mac? Uses disk space? Opens offline?
Cloud-only No, only a placeholder Very little No
Downloaded Yes Yes, the full size Yes

A cloud-only file looks like any other file in Finder. You can rename it, move it within the drive or put it in the Trash without downloading it. Only opening it, or copying it somewhere outside the drive, needs its contents.

Moving a file between the two

Control-click (or right-click) a file or folder in the drive to see the options:

  • Keep Downloaded downloads the item and keeps it on this Mac. macOS will not remove it to make room. Use it for files you need while traveling or offline.
  • Remove Download removes the local contents and leaves the placeholder. The file is still in the drive and downloads again when you open it.

Remove Download only frees space on this Mac. It does not delete the file from the cloud or from your other Macs.

How macOS decides on its own

When you open a cloud-only file, macOS downloads it and it stays on your Mac. Over time, files you opened add up. When the disk needs room, macOS can remove downloads of files you have not opened recently, turning them back into cloud-only files. Files marked Keep Downloaded are not removed this way.

So a downloaded file uses space until you, or macOS, remove the download. Free space on a Mac with a cloud drive can change without you doing anything, in both directions.

The status list in Roomtide

Roomtide shows a status for every file, so you can tell at a glance whether it is in the cloud, on this Mac, or both:

Status Meaning
On this Mac only Not uploaded yet
Uploading Being uploaded now
Uploaded, checking Uploaded; the cloud copy is being read back and checked
Verified in cloud Uploaded, then read back and checked
In cloud only Not on this Mac; downloads when you open it
Kept on this Mac Stays downloaded for offline use (Keep Downloaded)
Conflict Edited on two Macs; both versions are kept

The statuses appear in Finder and in the app’s Files screen. See how Roomtide works in Finder for screenshots.

What opening a file does

When you double-click a cloud-only file, the app you open it with asks macOS for the contents, and macOS asks the cloud drive to download them. Two things follow:

  • Most apps need the whole file first. QuickTime, Preview and most other apps download the whole file before opening it. A large file takes as long as its download, and needs that much free space.
  • The file then uses space. After opening, the file is downloaded and counts toward used space until the download is removed.

For video, Roomtide has an exception: Play in Roomtide plays H.264 MP4 and ProRes MOV files in Roomtide without downloading the whole file. Other formats download first. See the in-app video player.

Working offline

Without a connection, downloaded files open and save as usual; changes upload when you are back online. Cloud-only files can’t open, because their contents are not on the Mac. In Roomtide, Finder shows an error for such a file rather than waiting indefinitely.

Before going offline:

  1. Select the folders you will need.
  2. Control-click and choose Keep Downloaded.
  3. Wait until their status shows Kept on this Mac.

Points to keep in mind

  • A cloud-only file is not a second copy. If you delete it from the drive, it goes to the drive’s deleted items (in Roomtide, Recently Deleted, for 30 days).
  • Your cloud drive keeps one copy of your files; it is not a backup, so keep a separate backup, for example with Time Machine.
  • For the framework behind all of this, read how File Provider cloud drives work. For how a similar setting works in iCloud Drive, read what Optimize Mac Storage does.

Questions

Does a cloud-only file use space on my Mac?

Only a small amount for its name and details. The contents download when you open it, and then use space until you or macOS remove the download.

What happens if I open a cloud-only file offline?

It can't open, because its contents are not on the Mac. Finder shows an error. Use Keep Downloaded beforehand for files you need offline.

Why does a large video take a while to open?

Most apps, including QuickTime and Preview, download the whole file before opening it, so a large file takes as long as its download.

Sources

Roomtide keeps your files in Finder, encrypted on your Mac before upload, and frees up space only after each cloud copy is verified.