Upload a file to a Google Web Apps with doPost

独自空忆成欢 提交于 2019-12-06 11:58:13

I got the same problem here. An workaround you can do is convert your file to a Base64 string using FileReader(), upload it, and convert it back on server-side before sending it to your Google Drive.

Here's how to encode your file and decode it server-side using Utilities API

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!