Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9186543
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T19:33:15+00:00 2026-06-17T19:33:15+00:00

I have a need to retrieve files in my web application that are greater

  • 0

I have a need to retrieve files in my web application that are greater than 64KB in size. Right now, in v1beta1 of the JSON API, Google is only allowing uploads/downloads of 64KB in size via their JSON API. I’ve figured out how to upload files over 64KB in size using a “resumable” upload (not via the interface v1beta1 provides in its JSON API, but manually).

What I can’t figure out is a good way to download. Right now, I make the ACL public for the object I want to download, download the file, and then remove the public ACL on the object. This is not only inefficient, it is not very clean. Is there a better method I could use or am I stuck until Google provides a better means in a future version of their API?

Background Information
I am writing a GAE application and I know of the google.appengine.api.files interface. Unfortunately this does not work on live buckets while using the local dev environment, and for testing purposes, my team and I need a way to test development locally (too cumbersome to deploy to GAE among other limiting/security factors). We can interact with all other APIs except for Cloud Storage, so I’m writing a class that will use either the JSON API or AppEngine’s files interface when reading/writing/deleting from Cloud Storage. I got a working implementation, but I’m unhappy with the way I retrieve files.

Clarification from comment below:
We are downloading large amounts of information, massaging it, and storing it into Cloud Storage for consumption into BigQuery. We need to use live buckets from the dev environment because if we don’t, BigQuery won’t be able to consume data we want to test. No need to serve these files, just process them

Solution from comment on accepted Answer below:
I was able to reuse my authenticated httplib2 object from my code that interacts with the JSON API to do an authenticated GET request against the https://{bucket_name}.storage.googleapis.com/{object_name} URL endpoint, adding only the Content-Length: 0 and x-goog-api-version: 2 headers.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T19:33:16+00:00Added an answer on June 17, 2026 at 7:33 pm

    For downloads, the XML API is the simplest way to do an authenticated download. There are multiple ways to do authenticated downloads, as detailed on this page: https://developers.google.com/storage/docs/authentication

    For a simple fetch operation, the name “XML API” could be considered misleading — you don’t need to produce any XML. If you experience an error, it will be represented as XML, but in the simplest case of a successful file download, no XML is actually involved.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a web page written in ASP.NET and I need to retrieve the
I have this JSON http://www.progmic.com/ielts/retrive.php that I need to parse. When I do it
I have a Web Application that I have inherited it contains a page that
Using this file as source, I have a situation where I need to retrieve
I need to retrieve a value from a website (can vary and I have
i need to retrieve the page title from an URL i already have using
I need to retrieve a value for a clickable button using jquery. I have
I have a situation where I need to retrieve data from a query which
I have a local collection of record Id's (integers). I need to retrieve records
I would like to retrieve an ordered query result, but I need to have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.