Stunning video shows near-miss between train and man caught on the tracks in Sydney The hair-raising footage shows the man being pulled up with seconds to spare.

Hair-raising video shows a man being pulled up out of the way of a train with mere seconds to spare in Sydney, Australia.

The video, which is a combination of footage from cameras in the train station and within the train's cabin, also shows the driver's view, which is obstructed by a bend in the tracks.

As the man tries in vain to climb back onto the platform, the driver can see only the tracks and the surrounding area and the train speeds toward the station. Another unidentified person then enters the platform, runs to the man and pulls him back up.

In a Facebook post accompanying the video, Sydney Trains cautioned commuters and wrote that incidents such as this have an effect on train staff.

"Imagine being in charge of 1000 tons of steel travelling at 60km/h... and you're confronted with this,” the post said. “The reality is that many of our drivers will be involved in a similar incident. The impact this can have on our network is obvious, but many don't consider the effect this can have on our Drivers, Guards and Station Staff. Please... be careful around trains.”