• 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
NSFileManager buggy?!?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSFileManager buggy?!?


  • Subject: NSFileManager buggy?!?
  • From: Ondra Cada <email@hidden>
  • Date: Mon, 14 Jan 2002 23:54:18 +0100

Hallo,

my tool copies a number of files using the NSFileManager's
"copyPath:toPath:handler:". For diverse reason I call the method for each
file myself, so my "handler" is always nil.

Now, sometimes, quite randomly -- so far I haven't been able to catch any
regularity there -- the "copyPath:toPath:handler:" returns YES, but the
result file has zero size (checked both by "ls -l" and programmatically by
"...attributesAtPath:...fileSize").

Some of the files I copy are pretty big (movies, up to 90 MB), but that
should not be a problem -- anyway, on the target disk there still is almost
GB free. That seems to be irrelevant though: even if there is *not* place
enough, the method should return NO if the file was not copied successfully?

Is that a known bug, or has anybody some bright idea what the problem might
be? Might it be caused by the lamentable fact that HFS+ is used?

TIA,
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
2K Development: email@hidden http://www.2kdevelopment.cz
private email@hidden http://www.ocs.cz/oc


  • Follow-Ups:
    • Re: NSFileManager buggy?!?
      • From: Finlay Dobbie <email@hidden>
    • Re: NSFileManager buggy?!?
      • From: Charles Srstka <email@hidden>
    • Re: NSFileManager buggy?!?
      • From: Chris Parker <email@hidden>
  • Prev by Date: Q: drawing text within drawPageBorderWithSize:
  • Next by Date: Re: PB Lexical Analysis (function popup): How?
  • Previous by thread: Q: drawing text within drawPageBorderWithSize:
  • Next by thread: Re: NSFileManager buggy?!?
  • Index(es):
    • Date
    • Thread