Home Ask Login Register

Developers Planet

Your answer is one click away!

Joe February 2016

Google Drive API - share(copy) my file automatically to user drive account

the scenario is like this. I have a file in Google Drive, then share it to public, but not the direct link to my file. see sample here https://ganool.ag/steve-jobs-2015-bluray-720p-ganool-ag/ | scroll down and find link https://file.rocks/file/jBH0tM97Ne (ignore the pirate movie in the link, it's just sample). When you click the link, the file will be copied to your drive account, save in a folder called File.rocks, than a subfolder with random name.

my question is, what API command used in that script? just the concept, not the complete script.

sorry for my english.


gerardnimo February 2016

The behavior shown in that website is similar to the Save to Drive button which allows the user to save files to their Drive account from an arbitrary URL via their browser.

The technology used to upload files is similar to that used by the Google Drive web user interface. The file is downloaded to the user's browser in parts and uploaded to Google Drive as data is received.

Post Status

Asked in February 2016
Viewed 1,754 times
Voted 7
Answered 1 times


Leave an answer

Quote of the day: live life