Skip to content
Advertisement

How to upload files to Google drive Shared drive folder?

Actually this code is uploading files to normal Gdrive but i need to upload my files into the shared drive can anyone help me. All i need is to Upload my files to to my shared drive. Below is my current code :-

JavaScript

Advertisement

Answer

In order to upload the file to the shared drive, please modify as follows.

From:

JavaScript

To:

JavaScript

Note:

  • In this case, your client has no permission for writing the shared drive, an error occurs. Please be careful about this.

Reference:

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement