realbasic-nug
[Top] [All Lists]

Re: Should I Delete to Overwrite?

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Should I Delete to Overwrite?
From: Will Leshner <leshner at ljug dot com>
Date: Fri, 30 Aug 2002 14:04:53 -0700
I believe that was Joe's suggestion, not Charles'.

On Friday, August 30, 2002, at 01:41 PM, Christian Schmitz wrote:

At 2:45 PM -0400 8/30/02, Charles Yeomans wrote:

Though not quite as good as swapping the file contents, there's
another method that's almost and good but more portable.  Write out
your new file to the same folder but with a temporary file name (just
make up one that doesn't already exist).  Then, when that's done
successfully, rename the old file to a different temporary name, name
your new file to its proper name, and delete the old file.

This will break aliases.

Mfg
Christian


---
A searchable archive of this list is available at:
<http://dbserver.realsoftware.com/KBDB/search.php>

Unsubscribe:
<mailto:realbasic-nug-off at lists dot realsoftware dot com>

Subscribe to the digest: <mailto:realbasic-nug-digest at lists dot realsoftware dot com>
.


<Prev in Thread] Current Thread [Next in Thread>