Nanotransport controlled by means of the ratchet effect