Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以将数据从 JavaScript 发送到 Google Drive 。我正在尝试将我的本地存储数据发送到谷歌驱动器。
请给我一个相同的解决方案。
Google Drive SDK 文档包含一个完整的 JavaScript 快速入门指南,其中展示了如何从 JavaScript 将文件上传到云端硬盘:
https://developers.google.com/drive/quickstart
编辑示例代码以使用本地存储而不是从表单上传的文件应该非常简单。