• 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
Re: Calculating file size
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calculating file size


  • Subject: Re: Calculating file size
  • From: Jens Alfke <email@hidden>
  • Date: Sat, 26 Apr 2008 21:33:26 -0700


On 26 Apr '08, at 6:50 PM, Cocoa Dev wrote:

I was wondering what was the best way to calucate folder size with cocoa? I
was able to do this but it does not include resource forks:

I think you'll need to drop down to a lower-level API to get the resource fork size; probably one of the "*CatInfo*" calls in <Files.h>. I can't really give specific advice because I haven't used those much since OS 9, and they've changed a lot since.


—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Calculating file size
      • From: Laurent Cerveau <email@hidden>
    • Re: Calculating file size
      • From: Jean-Daniel Dupas <email@hidden>
References: 
 >Calculating file size (From: "Cocoa Dev" <email@hidden>)

  • Prev by Date: Re: How to import drawing paths into a Cocoa application?
  • Next by Date: Re: How to import drawing paths into a Cocoa application?
  • Previous by thread: Calculating file size
  • Next by thread: Re: Calculating file size
  • Index(es):
    • Date
    • Thread