Most file-sharing services are client-server: you upload your file to a company’s servers, they store it, and the recipient downloads it later. Peer-to-peer flips that — the file goes device to device, with no copy parked in the middle.
The three steps of a P2P transfer
- Signaling— the two devices need to discover each other. A lightweight signaling step swaps a short connection code (in Shafle, that’s the share code / QR). This exchanges only connection details, not your file.
- Connection— using those details, the browsers open a direct WebRTC data channel between themselves, punching through home routers with help from STUN servers (and a TURN relay only as a fallback when a direct path isn’t possible).
- Transfer — the file is split into chunks and streamed straight across that channel. It arrives on the other device and is reassembled there.
Why it’s private
Since the file never touches a server, there’s no stored copy to be scanned, retained, leaked, or handed over. The signaling server only ever sees a short code used to introduce the two devices — never the file contents. That’s the core reason people choose P2P; see is P2P file sharing safe? for the honest risk picture.
Why it’s free
Storing and serving everyone’s uploads is what costs money at scale. When the file moves directly between users, the service isn’t paying for storage or download bandwidth — which is why a P2P tool like Shafle can be free with no size quota. The trade-off:
Want to just use it? Here’s how to send a large file free, or read about sending files without a cloud upload.