Juan Uribe hit a game-ending sacrifice fly off reliever Roy Oswalt with one out in the ninth inning and the San Francisco Giants moved within one win of the World Series, beating the Philadelphia Phillies 6-5 Wednesday night for a 3-1 lead in the NL championship series.