how to add google drive link to download file code example
Example: script to download a file to google drive
function saveFile() {
var url = "http://www.ferc.gov/docs-filing/eqr/soft-tools/sample-csv/contract.txt";
var blob = UrlFetchApp.fetch(url).getBlob();
DriveApp.createFile(blob);
}