How To Download / Export Sheets In Spreadheet Via Google Apps Script

前端 未结 4 1715
故里飘歌
故里飘歌 2021-01-01 07:46

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

4条回答
  •  长发绾君心
    2021-01-01 08:18

    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.

提交回复
热议问题