All the applications have pro and cons. This is listed at the beginning of each header.
There have been considered 3 different levels of access as described by the applications used:
Nextcloud is an open source content collaboration platform. At its core is file-sharing, but it has many other core functions as well as extensibility with additional installed applications. While Nextcloud can securely share files it is not focused as a simple, public, and secure file-sharing platform.
Nextcloud and Owncloud has build in file sharing. However these platforms provided many other functions and hence setup and basic file sharing is more complex than simply file sharing only applications. They also do not necessarily have the same basic functionality as simple file share applications.
I have been using Nextcloud and before that Owncloud from which Nextcloud was forked since circa 2013. My server setup is described here:
Syncthing is a continuous file synchronization program. It synchronizes files between two or more computers in real time, safely protected from prying eyes.
Syncthing is a free and open source peer-to-peer file synchronization application available for Windows, macOS, Linux, Android, and BSD. It can sync files between devices on a local network, or between remote devices over the Internet. Data security and data safety are built into its design. Version 1.0 was released in January 2019 after five years in beta.
The following is a systemd service file that can be used to start the syncthing service. It is taken from https://github.com/syncthing/syncthing/releases and based upon the user specific type. So create a new systemd service, /lib/systemd/system/syncthing@.service
systemctl daemon-reload
to update systemd.
To use example: sudo systemctl status syncthing@user.service
Unison is a file-synchronization tool for OSX, Unix, and Windows. It allows two replicas of a collection of files and directories to be stored on different hosts (or different disks on the same host), modified separately, and then brought up to date by propagating the changes in each replica to the other.
Unison shares a number of features with tools such as configuration management packages (CVS, PRCS, Subversion, BitKeeper, etc.), distributed filesystems (Coda, etc.), uni-directional mirroring utilities (rsync, etc.), and other synchronizers (Intellisync, Reconcile, etc). However, there are several points where it differs:
Unison is quite old.
PrivateBin is a minimalist, open source online pastebin where the server has zero knowledge of pasted data.