使用GAS克服Google Drive API Drive.Files.insert()方法的最大文件大小限制 [英] Using GAS to overcome the max file size limit for Google Drive API Drive.Files.insert() method
问题描述
有谁知道如何使用Google Apps脚本(GAS)来克服最大文件大小限制,从而防止 .pdfToText()
函数 @Mogsdad 在这里介绍是否转换PDF,比如说,每次多于10页?
Drive.Files.insert()
方法固有的记录在这里。此方法出现在 pdfToText.js
文件的第58行位于此处。
来自评论的摘要:
每@mulliweht
检查出这个工具 ...我今天在10页有同样的问题(甚至在发现这篇文章之前在@ Mogsdad的git上发表了评论)......上面的API解决了我的问题,并且很容易被URLFetchApp调用Google Apps脚本。
Does anybody have a clue how to use Google Apps Script (GAS) to overcome the max file size limit preventing the .pdfToText()
function @Mogsdad introduced here from converting a PDF of, say, more that 10 pages at a time?
The limitation is inherent to the Drive.Files.insert()
method documented here. This method occurs in line 58 of the pdfToText.js
file located here.
Summary from comments:
Per @mulliwehtCheck out this tool... I was having the same problem today at 10 pages (even commented on @Mogsdad's git about it before finding this post)... The API above solved my problem and is easily called by URLFetchApp in Google Apps Script.
这篇关于使用GAS克服Google Drive API Drive.Files.insert()方法的最大文件大小限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!