NSFileWrapper limitation
NSFileWrapper limitation
- Subject: NSFileWrapper limitation
- From: "Anthony Cheung" <email@hidden>
- Date: Wed, 3 Sep 2003 17:31:14 +0800
Dear all,
I would like to know if there is limitation on file size when using
NSFileWrapper?
I have used the following code to check file size in my application:
fileWrapper = [[NSFileWrapper alloc] initWithPath:myfileName];
when the file size of "myfileName" is over 2 GBytes, I got the following error
message:
-[NSConcreteData initWithBytes:length:copy:freeWhenDone:bytesAreVM:]: absurd
length: 2147481258
If I can't use NSFileWrapper for files over 2 GBytes, what should I use?
Many thanks in advance for your reply.
Regards,
Anthony Cheung
_______________________________________________
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.