On Apr 20, 2013, at 8:21 PM, Scott Crick <li...@searchwaresolutions.com> wrote:

> For example, I have a PDF file that, in the Finder, shows as being "339 KB"
> 
> When I use FolderItem.PhysicalFileTotalLengthMBS, the size of this file is 
> returned as 331776 bytes. When I divide this by 1024, I get 324 KB. If I 
> divide it by 1000, I get 331 KB. Neither of these is what the Finder is 
> reporting—339 KB.
> 
> Is there a different function I should be using? I need to get the size as 
> it's reported in the Finder.
> 
> I would appreciate any help on this one.

I think I have figured this out.

I didn't realize there was also a FolderItem.LogicalFileTotalLengthMBS 
function. When I use this function I am getting the same sizes as reported by 
the Finder.

Sincerely,

Scott
--
Searchware Solutions
Simply Great Software
www.searchwaresolutions.com

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to