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: support at monkeybreadsoftware dot de (Christian Schmitz)
Date: Fri, 30 Aug 2002 22:41:12 +0200
> 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 thousand functions in one Realbasic plugin. The MBS Plugin.
(currently 53 plugin parts, over 1919 functions)

<http://www.monkeybreadsoftware.de/realbasic/plugins.html>

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