can use samba or any sftp server.
samba or sftp would be fine for that, both support verification of file transfers using checksums.
rclone can emulate an sftp server and more.
rclone serve
samba, but just do some testing, let us know...
and as a windowz guy, i choose samba.
i have a howto about that, with simple scripts for clients on windows and linux.
How to access SMB/SAMBA with rclone