# download filename.ext and automatically name it as filename.ext on disk curl -O http://domain.test/filename.ext