Google Drive File Name Automatically Replaced when User download the file

asifshaikhtsn

Member
Jan 8, 2021
40
9
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
 

dhanamerdeka

Active member
Aug 29, 2020
414
194
43
East Java, Indonesia
sharer.my.id
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
 

asifshaikhtsn

Member
Jan 8, 2021
40
9
8
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
 

rakjelenial

Well-known member
Trusted Seller
Trusted Uploader
Jan 10, 2020
412
660
93
Siak
I am agree with @dhanamerdeka
using api, user can download you file wihout login google account. but when user download, file name set to random id
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu