Another possibility is to have a process that download files, download them under a temporary name, and then rename them.
Renaming occurs atomically, so there would be no case when the file was incomplete under its final name.
The copy process may ignore temporary named files.
Markr source share