• 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: Cameron Hayne <email@hidden>
  • Date: Tue, 29 Nov 2005 16:05:35 -0500

On 29-Nov-05, at 2:29 PM, Ian was here wrote:

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.

You should implement the method fileManager:shouldProceedAfterError: (see the docs on copyPath:toPath:handler:) so that you can see what the error is.


I'm wondering if the problem might be that the file copy is done asynchronously and that therefore your loop might cause the max- number-of-open-files to be exceeded. That's just a guess and I hope that's not the problem.

--
Cameron Hayne
email@hidden


_______________________________________________ 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: Re: Processing mouse and key events from a background app
  • Next by Date: Re: 2-Level Namespace
  • Previous by thread: Re: Strange issue copying many files
  • Next by thread: Valentina [was:CoreData/SQLite performance]
  • Index(es):
    • Date
    • Thread