On 25 October 1933, the General Council, anxious to modernise a vital coastal line for the region, gave its support to the CP company by deciding to acquire 10 diesel self-propelled 200 hp motorcars. Their delivery began in March 1935.
From 1st July 1935, the passenger service between Toulon and Saint Raphaël was entirely provided by railcars, which resulted in a significant increase in passengers. From the summer of 1936, paid holidays gave even more activity to the Littoral line and the Saint Tropez line, where shuttle buses came to help the flow of traffic.
CP took advantage of its improved situation to supplement its rail traffic with a coach service.
Real hopes of prosperity seemed to open up for the Coastal Railway when World War II was declared on 3 September 1939.
15 August 1944: the line is practically buried under the rubble at the exit of Sainte Maxime while the French troops land in the Gulf of St Tropez.
After many bombardments and the fortification of the coastline in the spring of 1944, traffic was considerably reduced.
On 1 April 1944, all the inhabitants of La Foux were evacuated to Cogolin.
On 9 April, the Foux railway station was completely destroyed along with the neighbouring hippodrome and the majestic pine forest that extended to the current location of Port Grimaud.
On 15 April, there were no civil or private buildings left standing and no majestic trees in the La Foux district.
On release, train operations are totally suspended. Several kilometres of line are impassable.
On 5 September, some of the staff regrouped to return to work.
On 18 November, the government granted an exceptional allocation of 4,600,000 francs to the company to compensate for its financial difficulties.
The tracks that had suffered much damage were repaired as best they could and on 15 March 1945 traffic was able to resume. But the difficulties of the company worsened.
On 31 July 1946, the General Council decided to replace the dilapidated railway network with a road network.
At the beginning of 1948, the company gave more and more priority to the road and installed garages for its coaches in Toulon and Saint Tropez.
In spite of many defenders of the line who expressed their disapproval, the company abandoned the railway in favour of the road.
On 31 July 1946, the General Council decided definitively to replace the network with a public road service.
The "Petit Varois" wrote the next day "
A not very pretty page has been turned in the history of our department".
The network was no longer maintained and on October 18, 1948, with general indifference, a last train ran between Toulon and Hyères.
The La Foux / Saint Tropez workers' service continued for another eight months until 4 June 1949, when the tramway line was definitively closed.
The coastal network has been closed for many reasons, but not because of a lack of travellers. !
From 1947 onwards, buses gradually replaced the coastal train... Here a Renault 215-D in front of Saint Tropez station...