We are currently facing a challenge in transferring files from a URL to Google Drive within a client-side web application.
The obstacle lies in the Cross Origin Restriction of Javascript when it comes to downloading files. Essentially, giving Javascript a list of URLs results in the inability to download the files and store them in Google Drive due to their origin on a different website.
Is there an API for Google Drive that can be accessed by Javascript to initiate downloading files from URLs? If so, what is the process?
Please note: This question deviates from others on SO that inquire about obtaining files from Google Drive. Here, the focus is solely on transferring cross-origin files to Google Drive.