British and French authorities have struggled to find ways to deter people from making the perilous journey.