fsend is a peer-to-peer file transfer webapp and CLI tool.
Note
fsend-site (the webapp) uses WebRTC for the connection, without a fallback relay. So depending on your network/browser, it may not work. fsend-cli makes use of iroh which provides a fallback relay by default.
- P2P File Transfer: Directly send files between devices. The relay server only introduces the two peers - file data never passes through it.
- Web and CLI Interface: fsend is available as a web application and a command-line tool, and the two interoperate.
- Resumable Transfers: If the connection is lost, the transfer can be resumed from where it left off (see the browser support table below).
- Files and Folders: Send individual files and whole folders.
The webapp needs WebRTC, which every current browser has. What differs is where received files are written and if transfers can be resumed.
| Save mode | Browsers | Size limit | Resume |
|---|---|---|---|
| Save to folder (File System Access API) | Chromium (Chrome, Edge, Opera) | free disk space | yes |
| Save to browser storage (origin private file system) | Firefox, Safari | the browser's storage quota, which depends on the browser | yes |
| Download as zip | all | free RAM | no |
sudo apt update && sudo apt install -y ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://apt.fsend.sh/key.asc | sudo tee /etc/apt/keyrings/fsend.asc >/dev/null
echo "deb [signed-by=/etc/apt/keyrings/fsend.asc] https://apt.fsend.sh stable main" \
| sudo tee /etc/apt/sources.list.d/fsend.list
sudo apt update && sudo apt install fsendYou can download the prebuilt binaries for various platforms here.
cargo install fsend-cli- Open fsend in your browser.
- Either send or receive file(s)
- As a sender:
- Drag and Drop or select the file(s)/folder(s) you want to send.
- Share the generated code, the link, or the QR code with the receiver.
- As a receiver:
- Enter the code or open the link provided by the sender.
- Choose how to save the files: depending on your browser, either directly to disk, in browser storage, or as a zip download.
- Accept the offer and the file(s)/folder(s) will start downloading.
- As a sender:
Both tabs have to stay open during the transfer.
$ fsend send <file_path>
Code: K7Q29XMV4P
On the other peer, run:
fsend receive K7Q29XMV4P
or open in a browser:
https://fsend.sh/receive#K7Q29XMV4P$ fsend receive K7Q29XMV4P- fsend-relay, fsend-core and fsend-cli are licensed under MIT. See LICENCE, LICENCE and LICENCE.
- fsend-site is licensed under CC BY-NC 4.0. See LICENCE.
- The fsend logo and the images made from it, everything in
fsend-site/public/brand, are not covered by these licenses. All rights reserved. See LICENCE.