Which brings another thought to mind. FastFiler's (whatever that annoying app is that catalogs your app), as well as anti-virus programs may well open and scan your file. If they have it open for reading, although it only takes a sec, it's possible it might interfere with your delete, since you're doing a lot of things in close sequence and they might open the file. It's possible you might have one that triggers after file activity to scan the file. Try turning off things like FastFiler and anti-virus and see if that makes a difference.
But regardless, see if it actually deletes. If it doesn't, look at things like other apps on your system (as above). If it DOES delete, then you're looking at why it doesn't create, which might be a bad pathname or something.
I'm more inclined to think that your DELETION is failing, rather than your creation is failing.
And no, I don't see any reason that you'd have a conflict between FileXtra and FileIO as long as they weren't both holding the same file open simultaneously.
- Tab
At 06:47 PM 9/1/03, Howdy-Tzi wrote:
On Monday, Sep 1, 2003, at 15:51 America/Chicago, Tab Julius wrote:
Does it always delete the file? If the file is in use (for instance, some process has it open - you perhaps, if you didn't close it) - it won't be able to be deleted, at least not without rebooting in between or killing the process that has it open.
Mm. This can also potentially be a problem in networks, I think, if the network is slow to either acknowledge the file is closed, or slow to understand it should be deleted. So if you're trying this with a file located on some kind of remote-mounted volume, you could be getting into trouble. Also if you're trying to write to something that the system, for whatever reason, wants to use, you could still be getting into trouble.
What kind of file are you writing, and what is its expected path and//or name?
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
