Four people have been injured in a shooting at a UPS package delivery facility in San Francisco, a company spokesman said, adding that the shooter was an employee.

UPS spokesman Steve Gaut said he believed the shooter "turned the gun on himself" but did not have additional information.

He said the four victims were taken to a hospital but did not know their conditions.