there were huge wooden posts ascending from the water with thick ropes twined around fastening the ships to the dock or thinner ropes securing smaller vessels to the posts or to hooks screwed into the wood of the quay .