croc Is A Tool For Resumable, Encrypted File And Folder Transfers Between Computers (Command Line)

croc is a free and open source command line tool for secure file transfers between computers.

It uses relay-assisted peer-to-peer transactions and end-to-end encryption via password-authenticated key exchange. The program is written in Go and is available for Microsoft Windows, macOS, Linux and *BSD.

The idea behind croc is being able to transfer files and folders between cross-platform computers securely, fast and easy. With support for resumable, peer-to-peer transfers. As a bonus feature, croc is also able to securely transfer a short text or URL directly.

The data transfer is done using a relay, either using raw TCP sockets or websockets. When the sender and the receiver are on the same LAN, croc uses a local relay, otherwise a public relay is used. Thanks to this, croc can send files between computers in the same LAN, or over the Internet, without having port-forwarding enabled.


#technology #opensource #P2P #crossplatform #filetransfer


Use instead. It’s more secure, well known, available in many distributions.


This doesn’t seem to be p2p though


Why ?


Why to which point?

here i did a video on it


Video is worth 100,000 words thanks

Been using croc for some time now, it’s great. Especially useful for transferring files between my pc and my laptop


Give a try to

ive tried that and i ended up with folders i could not delete even after uninstalling it

cant you sorta do that with netcat already


Yes certainly with SSH - croc is probably addinga few cherries on the top though:

  • allows any two computers to transfer data (using a relay)
  • provides end-to-end encryption (using PAKE)
  • enables easy cross-platform transfers (Windows, Linux, Mac)
  • allows multiple file transfers
  • allows resuming transfers that are interrupted
  • local server or port-forwarding not needed
  • ipv6-first with ipv4 fallback
  • can use proxy, like tor

well in that case maybe i will compile it and play around with it


Tried it. Installs easily and works well 😀

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links


  • Posts must be relevant to the open source ideology
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon from

  • 0 users online
  • 41 users / day
  • 60 users / week
  • 155 users / month
  • 496 users / 6 months
  • 3313 subscribers
  • 1078 Posts
  • Modlog