Per the answer here: Upload images/video to google cloud storage using Google App Engine
I'm calling:
upload_url = blobstore.create_upload_url(url, gs_bucket_name='my_bucket')
However, I'm still seeing the file being uploaded to the blobstore and not cloud storage.
This is on a local dev server and I'm verifying by checking the datastore kinds BlobInfo
and GsFileInfo
. When I use the Cloud Storage API directly to create and write to a file then I get a GsFileInfo
, but when I try to upload directly to local Cloud Storage in the manner above then I get a new BlobInfo
entity.
Any suggestions?
Also, is there another way to view the contents of local Cloud Storage? Any way to configure gsutil
against local?