• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

Google Drive File Name Automatically Replaced when User download the file

asifshaikhtsn

Member
Jan 8, 2021
42
10
8
I have one Video file in my Google Drive with the name Perfect.mp4 and I have created a direct download link of this file with Google Drive API. So User can Download this File Without this Warning ( Google Drive can't scan this file for viruses ) but the problem is

when any user downloads this my video file: Perfect.mp4.

Then The name of my video is automatically renamed with the FIELD ID and the file extension is also gone.

This is My Link: https://www.googleapis.com/drive/v3...a&key=AIzaSyCj8FQUm-Su55PRIQbTZ2BHc9gY8BDr4vE

The filename of my video is correct in my Google Drive account but When Any User Downloads my video file with this link then only The name of my video is automatically renamed with the FIELD ID and the user sees any random file id name instead of my original file name.
google drive.png
Please help me to solve this problem
 
hmmm i think that's not possible since with google api, you didn't have any name on your header,
even more, if you create that link, you make your own hole, because it will expose the fileid and the api key to the public... that's mean other people will use ur key to make something bad happen on future, and also your drive will be effected since you also give the fileid to the public by using that link

file id and api key will be exposed, i strongly suggest to use other's ways to deal with this
 
hmmm i think that's not possible since with google api, you didn't have any name on your header,
even more, if you create that link, you make your own hole, because it will expose the fileid and the api key to the public... that's mean other people will use ur key to make something bad happen on future, and also your drive will be effected since you also give the fileid to the public by using that link

file id and api key will be exposed, i strongly suggest to use other's ways to deal with this
ok thankh you
 
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock