RE: Cannot access file because it is being used by another process

2006-04-15 Thread Charles K. Clarkson
Ed wrote: : What's odd is that this code runs fine if I run it as a : command line script, but if it's run as a CGI script if : fails. So, what you're saying is that this error may be coming from your host and not from perl. Running your error through Google reveals it to be an IIS 6.0 error.

Cannot access file because it is being used by another process

2006-04-15 Thread Ed
I'm not sure why I get the error above, but is there a way to wait to unlink a file until it's no longer being used by another process? IIn a CGI file, when trying to unlink a file I get the following message. "The process cannot access the file because it is being used by another process" What