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.
我有一个托管在提供商处的文档的 URL,并希望使用 Google Docs API 将其上传到 Google 文档。有没有办法实现它?我已经搜索了一段时间。
以下对我有用。它将返回一个文件对象。
DocsList.createFile(UrlFetchApp.fetch(fileURL);