# File drops

> Send files between your own computers and phones, straight over your private network, encrypted, from the command line, the app or the share sheet.

File drops send files from one of your devices to another: a photo from your phone to your PC, a build from your laptop to your desktop, a log from a server to your Mac. Files go straight between the two devices over your private network, encrypted. They never pass through Underpass's servers.

It only joins **your own** devices: the ones you signed in to. Nobody else in your workspace, admins included, can send you files or get yours.

## What you need

- Underpass **0.8.7 or later** on both devices. See [Updates](/manage/updates).
- Both devices online and signed in as you.
- On Windows and macOS, the Underpass app open on the device that receives (it can be minimised).
- Your workspace hasn't turned it off: it's on unless an owner or admin turns it off in **Settings → Devices**.

## Send files

### From the command line

```bash
underpass drop report.pdf photos.zip desktop
```

List the files, then the device: its name, full name or address. It shows how far each file has got, then `Sent report.pdf to desktop (2.4 MB in 1.2s).` A folder can't be sent as it is: send the files in it, or zip it first.

If the device is offline, it says so, and how to [wake it](/features/wake-on-lan).

### From the app

In the Underpass app on Windows or macOS, drag files onto one of your devices, or choose **Send files…** and pick them.

### From a phone

Share a file or photo as you would to any app, choose **Underpass** in the share sheet, then the device to send it to.

## Where files land

| Device | Where |
|---|---|
| Windows, macOS | Your **Downloads** folder |
| Linux | `~/Underpass Drops` of the person in the `tailnet` group (the first one, if there are several). With nobody in the group, root's home |
| Phones | In the Underpass app, under **Received files** |

The device shows a notification when a file arrives.

## Things to know

- **Up to 64 GB** a file.
- **Names are made safe.** Characters Windows doesn't allow in a file name become `_`, a leading dot is dropped (so `.bashrc` lands as `bashrc`, not hidden), and a name can't point into another folder.
- **Nothing is overwritten.** If a file with that name is already there, the new one is saved as `report (2).pdf`, `report (3).pdf` and so on.
- A file that's cut short (the connection drops, or you press Ctrl+C) isn't kept.
- A server that joined with a tagged key has no owner, so it can't send or take files.

## For owners and admins

**Settings → Devices** can turn file drops off for the whole workspace. Devices then refuse files, and `underpass drop` says `file drops are off in your workspace`.

Every file received shows in the [audit log](/manage/logs) as `machine.file_received`, with who sent it, its name and size (not its contents). Turning file drops on or off shows as `workspace.file_drops`.

## With access rules

With general [access rules](/features/access-controls) on, each person's own devices can still reach each other's Underpass app port (41115) for file drops, without a rule for it. The same port takes remote control and the shared clipboard, and the apps still check those against their own rules. See [What's always let through](/features/access-controls#whats-always-let-through).

If files don't arrive, see [Troubleshooting](/reference/troubleshooting#files-dont-arrive).
