in reply to Best way for testing the end of the filling of a Tar file before opening it.

Does extract_archive work if the archive is still being written to? If so, you can always daemonize the process and just check (stat($file))[9] and see if it's older than your current lap. 7 (size) would work too, assuming the archive gets written all at once. stat