tanaikech / DownloadLargeFilesByUrl

DownloadLargeFilesByUrl is a GAS library for downloading large files from URL to Google Drive using Google Apps Script (GAS).
MIT License
48 stars 13 forks source link

Error: DownloadLargeFilesByUrl.cfg file cannot be found in the folder of #2

Open madhurjya666 opened 4 years ago

madhurjya666 commented 4 years ago

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); }

What did I miss?

CennoxX commented 1 year ago

Without specifying the tempFolderId parameter, it works for me.