Hi Nick, On Tue, 18 Jun 2002 21:38:41 -0700, you wrote: > > Do a regular clean up ;) > > You're kidding... right?
Automate it if you want :P > > To be honest, this isn't really TB! fault... > > Oh, but it is. Depends on your standpoint... from what I've experience with the software we write, most anti-virus applications have a habbit of locking a file just before the file gets read, moved, copied, or deleted. Now when TB goes to delete the file, the anti-virus program locks the file, so TB gets a flag saying file busy, I'm sure the coders may have added in a try statement to attempt to do it 3 times... depending on the system, and setup, this may fail several times, so TB fails the delete, hence you end up with temp files. As for why there aren't always temp files, if your virus scanner releases the lock before TB tries to do anything with the file, then TB can happily remove it... it's a question of timing. We've found in 99% of the cases where files have been reported as locked (we develop accounting software), disabling the virus scanner for a 10 minute test shows the lock issue vanishes. In theory, it may not even be with the temporary file itself... it may be with the temporary file's lock file (which is where our software has issues, the database lock file isn't removed because the anti-virus software has a lock on the lock file... when the database attempts to remove the lock, it cannot... so fails trying without error, but when you next attempt to access the file, the original lock file is still there, and the table is still open). Then there is the other standpoint which says it is TB! fault... saying it didn't attempt to delete it enough times... If the programmers of TB were to force TB to make X number of attempts more at deleting the file, you could end up stuck in a nasty loop of delays, eventually slowing the system down. -- Jonathan Angliss ([EMAIL PROTECTED]) ________________________________________________________ Current Ver: 1.60q FAQ : http://faq.thebat.dutaint.com Unsubscribe: mailto:[EMAIL PROTECTED] Archives : http://tbudl.thebat.dutaint.com Moderators : mailto:[EMAIL PROTECTED] TBTech List: mailto:[EMAIL PROTECTED] Bug Reports: https://www.ritlabs.com/bt/

