Use Google Drive to store / retrieve files using java application

We want to develop a java web application for web hosts that stores and retrieves files from Google Drive. Right now, the data files are stored on the local disk, and when the user clicks on the link, the file is displayed from the local disk on the server. We want to move the files to a Google drive that automatically takes care of cloud storage and disk size limits. We want that when the end user clicks on the link, the file is downloaded and / or opened directly in it by the browser transparently, i.e. Without any additional authentication or input from the user. Our application should take care of authentication in the background. Does it currently support the Google Drive API? Any relevant documentation / article / sample application?

Thanks Deep

+4
source share
1 answer

You can achieve this if the user is logged into their Google account using the webContentLink resource file.

The following is an example on the Google Drive SDK website .

+1
source

All Articles