> I'm still trying to sort out exactly when it happens, but > folderItem.delete often does nothing.
> I think it's whenever I've had a stream open on the file, even if I > close the stream and set the stream variable to nil, I can't delete > the file. > This is 2K7r2 on Intel OS X 10.4.9. Under Unix, a file remains in existance until all references to it (including streams) are closed. That said, one of the references is the directory entry. If you remove the directory entry, the file still exists but you can't open it again, so you really can't tell that it hasn't been deleted (unless you go around looking at disk free space or something). The most likely thing is that there is still a reference to it (e.g., FolderItem or RB internal reference) keeping it around: be sure that all references...INCLUDING THE FOLDERITEM THAT YOU USED FOR DELETING IT!...are set to nil. Craig _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
