How to get a volume free size?
How to get a volume free size?
- Subject: How to get a volume free size?
- From: Lorenzo <email@hidden>
- Date: Thu, 13 Nov 2003 11:11:32 +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?
Is it a known Panther's bug?
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.