The following attributes may be retrieved for an AFP resource using the appropriate getIntegerAttribute(), getStringAttribute(), or getFloatAttribute() method :
Attributes are not allowed to be set for an AFP resource.