Never. Only in the early wars between France and England, but then it didn’t mind whether the enemies were in which territory and the border were unclear and the definition of the border was the cause of the war.
How would they have been able to
a) control a border that was the longest of the world
b) of two countries that haven’t been fully explored