>You have hit upon a problem that we have had for about a year. Novell does not seem to release the file for deletion quick enough. So I also insert a WAIT, but mine is about 1 not 5. The other solution I use is to write to a temp directory and leave that file out there. Then every night I have a process that runs to clean up the directory on the network.
I used 5 as a paranoia number - 1 is probably sufficient for most purposes. Then again, this application is a six-hour walkaway process, so an additional four seconds isn't going to change things significantly.