Thanks Marc, I think this is what I will have to do, but if you deleted the original file only after the new file has been successfully saved it means that the newly created file will have to be in a different location. Lennox.
Marc Zeedar <[EMAIL PROTECTED]> wrote: On Apr 7, 2007, at 4:16 PM, Tim Jones wrote: > The issue is that you are actually writing a new copy of your file in > the tutorial overwriting the original copy, so the ctime and mtime > will always be updating. In one of my apps I ran into this problem as for safety reasons I write out a whole new file for each save (and only delete the original after the new file has been successfully saved). I solved the date issue simply by memorizing the original creation date/time, saving the new file, and then resetting the creation date to the stored date/time. Works fine. Marc Zeedar Publisher, REALbasic Developer magazine www.rbdeveloper.com _______________________________________________ Unsubscribe or switch delivery mode: Search the archives: --------------------------------- Never miss an email again! Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out. _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
