doubian6241 2014-05-11 04:33
浏览 46
已采纳

写入Google云端存储 - 在本地进行测试

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?

  • 写回答

1条回答 默认 最新

  • drvkf88226 2014-05-11 10:00
    关注

    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.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作