I provided the folder ids i.e temp folder and export folder ids, and url to your sample script.
I am getting this error.
Error: DownloadLargeFilesByUrl.cfg file cannot be found in the folder of
Here is the code (modified from your sample script)
function driveUpload(){ var tempid = DriveApp.createFolder('tempp').getId(); var exportid = DriveApp.createFolder('export').getId(); var resource = { url: 'https://nptel.ac.in/content/storage2/MP4/106106197/mod01lec02.mp4', exportFolderId: exportid, tempFolderId: tempid, chunkSize: 51380224, downloadPerExecution: 4, }; var res = DownloadLargeFilesByUrl.download(resource); }
I provided the folder ids i.e temp folder and export folder ids, and url to your sample script. I am getting this error.
Here is the code (modified from your sample script)
function driveUpload(){ var tempid = DriveApp.createFolder('tempp').getId(); var exportid = DriveApp.createFolder('export').getId(); var resource = { url: 'https://nptel.ac.in/content/storage2/MP4/106106197/mod01lec02.mp4', exportFolderId: exportid, tempFolderId: tempid, chunkSize: 51380224, downloadPerExecution: 4, }; var res = DownloadLargeFilesByUrl.download(resource); }
What did I miss?