How can a Google Drive file not have "any content stored on Drive"?

Ryan D'souza

I have a Google Form that logs all of its responses in a Google SpreadSheet I own on my Google Drive Account. The SpreadSheet of responses shows up in the "My Drive" section of Google Drive when accessed on a computer.

I'm currently writing an Android application that downloads that SpreadSheet and parses it for certain data.

I'm at the point where I've found the File and I'm able to get the File's Title, Description, and ExportLinks. However, when I try to get the File's DownloadUrl, I get a NullPointerException.

According to this part of the https://developers.google.com/drive/web/manage-downloads API ("file.getDownloadUrl())"), if there is no download url, the "The file doesn't have any content stored on Drive"

How can a SpreadSheet on my Drive with over 100 responses not have any content stored on Drive?

Cheryl Simon

Content here refers to binary content. Google Spreadsheets (and the other Google Docs types) are not stored as binary content. You can get it in a binary format like csv using the ExportLinks. Alternatively, you can use the Spreadsheet-specific APIs like app script to interact with the spreadsheet contents.

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

How to get url for image file in google drive

分類Dev

How can I upload a new revision to an specific file in Google Drive using the REST API?

分類Dev

How to download file from google drive using c#

分類Dev

How to access Google Drive appdata folder file with Flutter?

分類Dev

How do I save a pdf file to Google Drive?

分類Dev

Success upload to Google Drive but empty file when open (Still have size)

分類Dev

Is it possible to have a single Google drive account where many users can upload files to from an application?

分類Dev

How can a hard drive provide a host device with file/directory listings when the drive isn't spinning?

分類Dev

How can I have multiple browsing sessions in Google Chrome?

分類Dev

Google Drive API uploading a file to team drive in Javascript

分類Dev

Python - Upload file to Google Team Drive

分類Dev

Get public link to file with Google Drive SDK

分類Dev

Google Drive API - List Permissions of a file

分類Dev

How to get XML File parsed from Google Drive without sharing the Link globaly

分類Dev

How can I get the folder ID of a folder in my drive using google script?

分類Dev

How can I find out which program creates a file/folder in my C: drive?

分類Dev

How can I prevent file mode changes when working with a Git working directory on a shared drive under Bootcamp?

分類Dev

how can i link an XML data file from my hard drive (not web) to my project?

分類Dev

can i have a virtual CD DRIVE in lubuntu 13.10

分類Dev

Update an XML file in Google Drive via Google API

分類Dev

Downloading file from Google Drive by using Google Picker

分類Dev

How to get folder list from google drive?

分類Dev

How to download Google drive form programmatically?

分類Dev

How to tell if a Google Drive URL contains an image

分類Dev

How can I install MongoDB on a different drive?

分類Dev

How can I use another drive with Owncloud?

分類Dev

Get file's links with google-drive-api python

分類Dev

Get file buffer using Google Drive API and async/await

分類Dev

PHP Google Drive API creates empty XML file

Related 関連記事

  1. 1

    How to get url for image file in google drive

  2. 2

    How can I upload a new revision to an specific file in Google Drive using the REST API?

  3. 3

    How to download file from google drive using c#

  4. 4

    How to access Google Drive appdata folder file with Flutter?

  5. 5

    How do I save a pdf file to Google Drive?

  6. 6

    Success upload to Google Drive but empty file when open (Still have size)

  7. 7

    Is it possible to have a single Google drive account where many users can upload files to from an application?

  8. 8

    How can a hard drive provide a host device with file/directory listings when the drive isn't spinning?

  9. 9

    How can I have multiple browsing sessions in Google Chrome?

  10. 10

    Google Drive API uploading a file to team drive in Javascript

  11. 11

    Python - Upload file to Google Team Drive

  12. 12

    Get public link to file with Google Drive SDK

  13. 13

    Google Drive API - List Permissions of a file

  14. 14

    How to get XML File parsed from Google Drive without sharing the Link globaly

  15. 15

    How can I get the folder ID of a folder in my drive using google script?

  16. 16

    How can I find out which program creates a file/folder in my C: drive?

  17. 17

    How can I prevent file mode changes when working with a Git working directory on a shared drive under Bootcamp?

  18. 18

    how can i link an XML data file from my hard drive (not web) to my project?

  19. 19

    can i have a virtual CD DRIVE in lubuntu 13.10

  20. 20

    Update an XML file in Google Drive via Google API

  21. 21

    Downloading file from Google Drive by using Google Picker

  22. 22

    How to get folder list from google drive?

  23. 23

    How to download Google drive form programmatically?

  24. 24

    How to tell if a Google Drive URL contains an image

  25. 25

    How can I install MongoDB on a different drive?

  26. 26

    How can I use another drive with Owncloud?

  27. 27

    Get file's links with google-drive-api python

  28. 28

    Get file buffer using Google Drive API and async/await

  29. 29

    PHP Google Drive API creates empty XML file

ホットタグ

アーカイブ