Dynamic port mapping for file transfer service