France is eager to use its final Group F match against Portugal in Budapest on Wednesday to boost its confidence before it advances to the knockout stage of the European championship, goalkeeper Hugo Lloris said.

Speaking at a news conference, Lloris, the captain, said the team was focused on a solid performance against Portugal that would carry it into the next stage.

"We cannot calculate our efforts and the results to come," he said. "I think that the goal is to play the match to win it in order keep up the good momentum and continue to gain confidence for the new competition that begins in the last 16."

Euros loss helped in World Cup win

France, which lost to Portugal in the Euro 2016 final, is already through to the last 16 and will finish first in the group if it wins, or if it draws and Germany fails to beat Hungary in the group's other match on Wednesday.

Lloris said France's stinging 1-0 loss to Portugal in overtime in the final of the last Euros had helped the team win the World Cup two years later.

"We had some difficulties against the Germans and the Hungarians," Lloris said. "It will be difficult. This is high-level play, whoever the opponent is."

ALSO READ | Ousmane Dembele faces surgery again following knee injury

Portugal has more at stake than France in Wednesday's match, as it will go through to the next stage if it avoids defeat. In a tight points race, however, Portugal could also finish first in the group if they win and Germany does not.

In their last match, France beat Portugal 1-0 in the UEFA Nations League in November, which French manager Didier Deschamps said both sides would analyse going into Wednesday.

"Portugal's strengths are the same," Deschamps said. "They know us too. In any case it will be a high-level match."