If you live inside a comfortable jail then you can use AirDrop to share files, but if you are just a normal/ordinary person then you need to discover a nice alternative for files transfer called ShareDrop:
It will detect other people in the same network once they also open the site. It also possible to share files between Android, Windows, Linux, MacOS, iPhone, etc, using it.