Re: Strange issue copying many files
Re: Strange issue copying many files
- Subject: Re: Strange issue copying many files
- From: Ian was here <email@hidden>
- Date: Tue, 29 Nov 2005 11:32:54 -0800 (PST)
One important point I forgot to mention. It only fails
when copying a large number of files (but succeeds in
the debugger).
--- Ian was here <email@hidden> wrote:
> I have a method that copies files from one directory
> to another. Sometimes the number of files can be in
> the thousands. I am using the NSFileManger copyPath
> method in a for-next loop to copy each file.
>
>
>
> for ( i = 0; i < numOfPaths; i++ )
> {
> err = [fm copyPath:srcPath toPath:destPath
> handler:nil]
> }
>
>
>
> Here's the strange part: if I run my application
> through the debugger, this works fine. If I run
> normally (development or deployment builds), this
> fails. err = NO some of the time, but the files will
> get copied, except that their size is zero K. I
> don't
> recall having this problem before. I'm wondering if
> this could be an issue with XCode 2.2
>
>
>
>
>
> __________________________________
> Yahoo! Mail - PC Magazine Editors' Choice 2005
> http://mail.yahoo.com
> _______________________________________________
> Do not post admin requests to the list. They will be
> ignored.
> Cocoa-dev mailing list
> (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
>
> This email sent to email@hidden
>
__________________________________
Yahoo! Music Unlimited
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden