Description
gfile is a command-line tool that sends a file straight from one computer to another over WebRTC, without a third-party server carrying the file data. The two machines find each other through a STUN server, which only helps them connect across NAT and never receives the transfer. By default gfile uses Google's public STUN server, and the --stun option lets you point it at a different one. The sender starts the send command and receives a compact encoded SDP string to pass to the other side. The receiver pipes that string into the receive command, and the answer goes back the same way. Once the peers connect, the transfer begins. The --connections option opens up to 16 parallel connections, which the README says can help on high-latency or high-bandwidth links. A bench command measures network speed between two clients, though the README calls it an experiment. Local addresses are advertised as mDNS hostnames by default, so raw LAN IPs are not pasted around in the SDP. The author notes that the project is still in its early stage.…
Highlights
- Direct file transfer between two computers over WebRTC
- No third party carries the file data
- Up to 16 parallel connections with --connections
- Experimental network speed benchmark
- mDNS hostnames keep LAN addresses out of the SDP
Ratings & Reviews
No ratings yet
Be the first to rate Gfile.
People also visit
Gfile FAQ
What does gfile do?
It sends a file directly from one computer to another over a WebRTC connection. The README says the file does not pass through any server.
How do the two computers connect?
The sender gets an encoded SDP string and passes it to the receiver, who pipes it into the receive command. The receiver's reply goes back the same way, and the transfer starts once the two are connected.
Does it need a server?
A STUN server helps the two sides find each other through NAT. gfile uses Google's public STUN server by default, and --stun changes it. The file data does not go through the STUN server.
Will it work on a local network only?
The README says the mDNS hostnames are enough for a transfer on the same LAN, even when --stun is set to an empty value.
Is it ready for everyday use?
The README says the project is still in an early stage.
What are the best Gfile alternatives?
Popular alternatives to Gfile include FilePizza, CheezyPizza and Gonc. See all Gfile alternatives



