realbasic-nug
[Top] [All Lists]

Re: Copying a folder

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Copying a folder
From: Austin Clow <dr_clow at mac dot com>
Date: Sat, 31 Jul 2004 15:44:35 -0500
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <S dot 0000334500 at mail dot tempel dot org> <F0054C3B-E32F-11D8-9179-000A959FF9F8 at mac dot com> <63241FBE-E331-11D8-9EFE-00039369B326 at kellerfarm dot com>
If the items added to the array were obtained using the .trueitem or .truechild then they will be the actual files not a resolved alias.

On Jul 31, 2004, at 3:37 PM, Andrew Keller wrote:

Just to clear up how I am doing this...

First, I scan the source. The user can choose what to do when duplicates of files or folders are found. If it is determined that the folderitem should be copied, then it is added to an array. This continues until the entire folder has been scanned.

Then, I proceed with the copy. I simply run down the array of things to copy. The destination is deleted beforehand, if the user wanted. The user could also have chosen to only delete the corresponding files, or retain the newer copy, or skip the item, and so on.

It is during the scan that I run into that loop. The copy hasn't even started yet. I am now implementing the TrueItem method in my app, so I'll return the results when I get them.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

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