Safe filling is provided by a housing (8) controlling the pump (6) of the mobile tank (1) receiving, via a secondary hose (10), the pressure prevailing in the container (2) to be filled, a programmable logic enabling the pump to operate when the pressure measured in the container is within a predetermined range, adaptable according to the type of container. The invention is applicable in particular to gas containers.