add limit to download a dir