Hi,
I'm using:-
data= [[NSData alloc] initWithContentsOfFile:[openPanel filename]];
In the Finder the file's length is 121,064 bytes but my data length is
47,692. After much messing about trying to find where I went wrong I
opened the terminal and the file size is actually 47,692.
I thought that the Finders "Get Info" panel displayed the actual size of
the file in brackets not the space occupied on disk.
Is this a thing with my Intel iMac (10.4.6) or is it like that on PPC
also?
Thanks,
Paul
Paul Russell - 24 Apr 2006 09:23 GMT
> Hi,
>
[quoted text clipped - 11 lines]
> Is this a thing with my Intel iMac (10.4.6) or is it like that on PPC
> also?
Perhaps it's a file with a resource fork, e.g. an image file with a
preview in the resource fork ?
Paul
Paul Fredlein - 25 Apr 2006 05:32 GMT
Ahh, resource fork... forgot about that.
Thanks,
Paul
> > Hi,
> >
[quoted text clipped - 16 lines]
>
> Paul