This is a continuation of Using the extended disk service to download files .
My Webapp consists of a form for uploading data files, which are then saved to Google Drive. (The full code is in the snippet below.) I had a problem with the following line of code:
var file = Drive.Files.insert(resource, mediaData);
It gives the “Empty Response” error message in the line of code above when we try to download a large file (15 MB). Do you have any suggestions. This is well within the insertion limit of 5120 GB files, and the code works fine on small files.
Now I tried to add a function to the loop to try to load a couple of times, still throwing the same error:
The error occurs only in a larger file, even if we reduce the size of the same file, which solves the error, so we need to configure the download process to account for the larger file. Is there an equivalent to Google Apps Script that allows you to renew the API download request
google-drive-sdk google-apps-script google-drive-realtime-api
astwood
source share