Custom url in file download

Is it possible to change the url generated in the download button in ->enableDownload()?
Was this page helpful?