• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Strange issue copying many files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Strange issue copying many files (From: Ian was here <email@hidden>)

  • Prev by Date: Strange issue copying many files
  • Next by Date: SQLite performance issues.
  • Previous by thread: Strange issue copying many files
  • Next by thread: Re: Strange issue copying many files
  • Index(es):
    • Date
    • Thread