The download package allows LaTeX to download files using cURL or wget.