How to download a file from Google Drive

前端 未结 2 1607
一整个雨季
一整个雨季 2021-02-06 12:43

I am currently trying to make an application that downloads files from Google Drive.

In the Google Drive SDK documentation I found an example method that should return a

2条回答
  •  花落未央
    2021-02-06 13:04

    You won't have a downloadlink if the file you are trying to download is a native google docs format. If that's the case you must look for the exportLinks.

    You will have several export links, so you will have to choose which format suits you best : docx or odt for document for example

提交回复
热议问题