Last Updated: Mar 15, 2021
Use this function to download a file in Google Drive.
Download File (file_id, file_path, private_key, client_email)
Input Parameter Name | Description |
---|---|
file_id | Id of the folder or file |
file_path | Path to download the file |
private_key | Private key of the service account |
client_email | Email ID of the service account |
Return Value | Description |
---|---|
Output |
|
Download File (XYZ123, C:\Downloads, —–BEGIN PRIVATE KEY—–\nABCD\n—–END PRIVATE KEY—–, name@project-id.iam.gserviceaccount.com)
Ensure that Full Control permission is given to Users for the path given. To check this, right-click on the folder and choose the Security option.
To view all the Google Drive functions, click here.