fileSystemAttributesAtPath on Panther
fileSystemAttributesAtPath on Panther
- Subject: fileSystemAttributesAtPath on Panther
- From: Lorenzo <email@hidden>
- Date: Fri, 14 Nov 2003 09:04:17 +0100
Hi,
I have just seen that on Panther, more than the API
fileSystemAttributesAtPath, the Finder too cannot report the free space
value and the total size value of a webDav volume. The Finder's windows and
the GetInfo panel in facts report "--".
I need to know the free space value before copying a file.
fileSystemAttributesAtPath NSFileSystemFreeSize instead reports "-512".
Watch here:
{
NSFileSystemFreeNodes = 65533;
NSFileSystemFreeSize = -512; <<<------ IMPOSSIBLE!!!
NSFileSystemNodes = 65535;
NSFileSystemNumber = 754974724;
NSFileSystemSize = -512; <<<------ IMPOSSIBLE!!!
}
On Jaguar it works flawlessly.
I wrote to Apple to know more about that and I am waiting for news. Maybe
it's a Panther bug, maybe I missed some change about the APIs.
In the meantime, please do you know something more? 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.