Frage

I'm testing my Google App Engine app locally in Windows. I want to be able to save my data to Google Cloud Storage like so:

file_put_contents('gs://my_folder/filename.json', $jsonFile);

It works great while running live on Google App Engine. But when I test it locally, it appears to run fine (no errors) but I don't know where it's saving the file. I thought I'd find it in the local admin console in my browser, but no luck. Any suggestions?

War es hilfreich?

Lösung

Go to the Admin console and then to the "Datastore Viewer".

Then select the Entity Kind "_GsFileInfo_" and your gs files will be displayed.

http://localhost:8000/datastore?kind=__BlobInfo__

Stack won't let me make a link to localhost, but it's something like the above.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top