Webb pitched seven solid innings and added a key two-run double, helping the Diamondbacks beat the San Francisco Giants 7-6 and gain ground in the NL West.
"We should have him up with runners in scoring position and two outs more," Arizona manager Bob Melvin said.
The Diamondbacks have won three straight for the first time since August 19-21 against the Pirates and trimmed the Dodgers' division lead to 3 1/2 games. Los Angeles lost 15-8 at Pittsburgh.
"This was the first opportunity we've had in a while where we look up, they lost and we could capitalize on it," Melvin said. "It's nice to finally pick up a game. Three and a half is better than four and a half."
"Our goal is to win our ballgames and not worry about what they do," Upton said.
The Diamondbacks led 7-3 after eight innings but nearly blew it in the ninth. Doug Slaten walked Scott McClain and Eugenio Velez to start the inning and Tony Pena surrendered a two-run triple to Omar Vizquel.
"When Vizquel got the big hit we had good hitters coming up," manager Bruce Bochy said. "We'd done a good job of coming back but we came up a little short."
Webb (21-7) allowed three runs -- two earned -- and eight hits. But his bat was more effective than his sinker early on.
Eckstein flied out but Webb followed with a tying two-run double to the center-field wall. The right-hander's hit snapped the Diamondbacks' 0-for-25 skid with runners in scoring position.
"It ended up being a pretty big hit, looking back on it," Webb said. "I just got a pitch I could hit and squared it up."
Webb scored on Stephen Drew's single and Upton added his 14th homer, a towering shot onto the concourse above the center-field fence.
"Everyone gets hot," Upton said. "It's all about us winning ballgames and trying to do whatever I can do."
Webb avoided serious trouble from there, allowing only one more runner to reach second and holding San Francisco scoreless over his final six innings.
"They're a team that swings early and likes to be aggressive which helped me with the pitch count" said Webb, who threw 57 of his 88 pitches for strikes.
Sanchez allowed six runs and six hits in 3 2/3 innings. He walked three, struck out four and was disappointed he couldn't help teammate Tim Lincecum in the race for the NL Cy Young Award.
"Everyone says Webb will win it but Timmy has better numbers and Timmy's started to win," Sanchez said. "I wanted to beat him. I wanted to beat Webb to make it easier for Timmy."
Drew went 4-for-5 and scored two runs for Arizona.
Webb is 4-0 against San Francisco this season. ... Upton has three homers in his last five games. The last two landed within a few feet of each other on the center-field concourse. ... Winn is 16-for-27 against Webb in his career. ... Sanchez has lasted less than four innings three times this season.
Marcus Semien crushes his 40th HR of the season
Marcus Semien goes deep for the 40th time this season to get the Blue Jays on the board.
Teoscar Hernandez busts a move in the dugout after three-run homer
Teoscar Hernandez shows off his dance moves after blasting a go-ahead three-run homer for the Blue Jays.
Josh Donaldson launches two-run dinger into the bleachers
Josh Donaldson gets the Twins on the board early with a two-run jack to right field.
New York Yankees left fielder Joey Gallo exits game with neck tightness
Yankees left fielder Joey Gallo left Saturday's game because of neck tightness. Manager Aaron Boone said he was unsure how Gallo's neck tightened up.
La Russa, Wright ejected after Ohtani gets beaned
Mike Wright Jr. plunks Shohei Ohtani and is thrown out of the game, and White Sox manager Tony La Russa also gets tossed while defending his pitcher.
MLB ERA leader Scherzer dominates again, Dodgers beat Reds
— Max Scherzer pitched seven shutout innings in another dominant performance for the Los Angeles Dodgers, who kept up their push in the NL West with a 5-1 victory over the Cincinnati Reds on Saturday.