A railway up the side of a mountain pulled by a moving cable and having counterbalancing ascending and descending cars.
Funicular.