Gantry crane with rope-trolley