The shooting was reported at about 12:05 a.m. near the intersection of West Point and Middle Point roads.
The 49-year-old victim was shot from an unknown direction and then driven by a friend to San Francisco General Hospital to be treated for his injury, which is not considered life-threatening, police said.
No arrests had been made in the case as of this morning.
Anyone with information about the shooting is encouraged to call the Police Department's anonymous tip line at (415) 575-4444 or send a tip by text message to TIP411.