Hello Team,
I have generated the below and previously I was able to download the file from Google drive using the below method.
Suddenly from yesterday it stopped working showing the output as Not Found.
I am trying to download files from Google drive to Linux server using a shell script. I do not want to make the file public for security reasons. want to exchange the necessary keys while downloading.
Kindly help me.
client_id
client_secret
device_code
refresh_token
auth_key generated from above.
curl -H "Authorization: Bearer $auth_key" "
https://www.googleapis.com/drive/v3/files/$id?alt=media" -o "$file"