The files are actually stored in the datastore emulator as blobs and are in 
your system's temp folder. You can specify which folder should be used 
using the --storage_path 
<https://cloud.google.com/appengine/docs/standard/php/tools/local-devserver-command>
 option 
when launching the dev server.

On Monday, August 14, 2017 at 4:02:30 PM UTC-4, Thomas Valadez wrote:
>
> I see... So how do I know where the `("gs://test-a
> ppdocs-sendgrid-inbound/envelope.json");` is looking on my local system. 
>
> On Monday, August 14, 2017 at 1:59:14 PM UTC-6, Yannick (Cloud Platform 
> Support) wrote:
>>
>> Hello Thomas,
>>
>> At this time, this behavior is working as intended. The error message you 
>> are getting means in this situation that no file by that name could be 
>> found. That is because the PHP local development server emulates Cloud 
>> Storage streams 
>> <https://cloud.google.com/appengine/docs/standard/php/tools/using-local-server#storing_data>
>>  by 
>> reading and writing to local storage on your machine and doesn't touch the 
>> production Cloud Storage.
>>
>> On Thursday, August 10, 2017 at 3:36:55 PM UTC-4, Thomas Valadez wrote:
>>>
>>> Yeah I am getting the same error. I moved the target json file to the 
>>> root directory of the bucket, and used `echo 
>>> file_get_contents("gs://test-appdocs-sendgrid-inbound/envelope.json");` as 
>>> suggested. However I get the same error: 
>>> `Warning: 
>>> file_get_contents(gs://test-appdocs-sendgrid-inbound/envelope.json): failed 
>>> to open stream: 
>>> "\google\appengine\ext\cloud_storage_streams\CloudStorageStreamWrapper::stream_open"
>>>  
>>> call failed in /Users/thom/Engine/appdocs-com/main.php on line 18`
>>>
>>> On Thursday, August 10, 2017 at 1:05:05 PM UTC-6, George (Cloud Platform 
>>> Support) wrote:
>>>>
>>>> Hi Thomas, 
>>>>
>>>> Is the same error triggered if you run the `echo 
>>>> file_get_contents("gs://test-appdocs-sendgrid-inbound/envelope.json");` 
>>>> command, which assumes you had copied the envelope.json file in the root 
>>>> directory of the bucket, i.e. under 
>>>> gs://test-appdocs-sendgrid-inbound/envelope.json? 
>>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/128f416c-2778-4f25-913e-b42ec7a6d117%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine... Thomas Valadez
    • [google-appe... 'George (Cloud Platform Support)' via Google App Engine
      • [google-... Thomas Valadez
        • [goo... 'George (Cloud Platform Support)' via Google App Engine
          • ... Thomas Valadez
            • ... 'George (Cloud Platform Support)' via Google App Engine
              • ... Thomas Valadez
                • ... 'Yannick (Cloud Platform Support)' via Google App Engine
                • ... Thomas Valadez
                • ... Thomas Valadez
                • ... 'Yannick (Cloud Platform Support)' via Google App Engine
                • ... Thomas Valadez

Reply via email to