Re: NSFileManager buggy?!?
Re: NSFileManager buggy?!?
- Subject: Re: NSFileManager buggy?!?
- From: Charles Srstka <email@hidden>
- Date: Tue, 15 Jan 2002 01:55:58 -0600
Well I hope NSFileManager is not buggy, because I'm quite dependent on
it. I haven't noticed anything thus far...
Just to test, I just tried moving the 40 MB QuickTime 5 API reference
using NSFileManager, and it didn't seem to have a problem.
What's so lamentable about HFS+?
On Monday, January 14, 2002, at 04:54 PM, Ondra Cada wrote:
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
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.