• 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
Free size of a volume
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Free size of a volume


  • Subject: Free size of a volume
  • From: Lorenzo <email@hidden>
  • Date: Wed, 12 Nov 2003 13:58:04 +0100

Hi,
I am used to get the free size of a volume this way:

manager = [NSFileManager defaultManager];
fsAttribute = [manager fileSystemAttributesAtPath:existingFolderPath];
freeBytes = [fsAttribute objectForKey:NSFileSystemFreeSize];

On Jaguar it works very well even on webDave volumes mounted on the desktop.
Now, running on Panther, whenever my application mets a webDav volume,
returns freeBytes = -512. Such a negative is impossible, so I suppose
something changed on Panther.

Does anyone know what could be happened?
Thank you.


Best Regards
--
Lorenzo
email: email@hidden
_______________________________________________
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.

  • Prev by Date: How to use color in panther's Font Panel ?
  • Next by Date: Re: Matching Postal Addresses
  • Previous by thread: Re: How to use color in panther's Font Panel ?
  • Next by thread: xcode weirdness - folder problem
  • Index(es):
    • Date
    • Thread