'Return the attributes for the given path.
This method returns a dictionary in the same format as the attrs
argument to openFile or a Deferred that is called back with same.
@type path: L{bytes}
@param path: the path to return attributes for as a string.
@param followLinks: a boolean.  if it is True, follow symbolic links
and return attributes for the real path at the base.  if it is False,
return attributes for the specified path.'

def getAttrs(self, path, followLinks=0):

    if followLinks:
        m = FXP_STAT
    else:
        m = FXP_LSTAT
    return self._sendRequest(m, NS(path))
