The task is to automate the manual process accomplished by the menu option \"File | Download As | Plain Text\"
I want to be able to control the saved file name, whic
The download can be done. But not the "Write to the hard drive" of the computer.
Write issue: You mean write a file to the hard drive of the computer, using Google Apps Script? Sorry, but you will need more than GAS to do this. For security reasons, I doubt this is possible with only GAS, have never seen anything like this in GAS.
Google Drive API will let you do a download, just needs OAuth and the URL you gave.