I am using Apache Tomcat 8.5.40 and there is a temp directory and safeToDelete.tmp file 0KB in it. What is this file used for?
It's a marker file used to ensure that the directory gets created by file archive creator/extractor programs that may otherwise skip empty directories.