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: "Tim Lisauskas" <timm at hpo dot net>
Date: Sat, 31 Aug 2002 15:07:00 +0900
Christian Schmitz said:

>> 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

Actually, Charles didn't say that; Joe Strout did.

Tim
Tokyo, Japan


---
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>