how to download files from google drive from console 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);
}