Using GAS,
I want to save a spreadsheet file locally.
Or I want to write to an existing local file.
File format is xlsx, csv.


Although I was able to save as a CSV file in the specified folder of the drive,
Is there a way to save locally?

Thank you.

  • Answer # 1

    Download files locally

    I came out with "gas download" on Google.
    It cannot be downloaded automatically for security reasons.

  • Answer # 2

    Create a virtual drive locally using a drive file stream

    Copy the created CSV locally


Related articles