File System Type of a file
Benjamin Stiglitz
ben at tanjero.com
Fri Mar 23 12:08:54 PDT 2007
>I just want to know precisely on which kind of file system a file
>resides (even if it's a distant volume accessed with afp or smb).
>
>To explain my situation: I've tested Apple method of
>NSFileManager::movePath:toPath: and it systematically fails when
>moving a file to a HFS volume (I think it's because filename length
>limitation).
Why don't you just check for the failure and then try the other method?
If Apple fixes whatever problem you're having with -movePath:toPath:,
you'll be able to take advantage of the new functionality without
changing your code.
-Ben
More information about the MacOSX-dev
mailing list