Esteban Lorenzano <[email protected]> writes: > it has it. > this is how is done in mac: > > *isSymlink = [[fileAttributes objectForKey: NSFileType] > isEqualToString: NSFileTypeSymbolicLink] ? 1 : 0; > > and this how is done in linux: > > stat(unixPath, &statBuf) && lstat(unixPath, &statBuf) > ... > *isSymlink = S_ISLNK(statBuf.st_mode); > > … and in windows is always false.
ok for isSymlink, but how do you get to the file pointed to by the symlink? Damien says it's impossible with current FilePlugin. -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill
