Hi Tejashree, 

In the statement: “$options = array('gs' => array('entity' => 'allUsers', 
'role' => 'READER', 'acl' => 'public-read', 'Content-Type' => $type, 
'contentEncoding' => 'ANSI'));”

The ANSI value does not seem right. Content-Type can be 
<https://cloud.google.com/appengine/docs/php/googlestorage/advanced> “Any 
valid MIME type”, for instance “text/plain”. You describe your saved 
content as an image, not text. You may consider looking closer to the way 
this metadata is set. If somehow only text gets saved, and not the intended 
image, your file size would appear small, just as you describe it here. 

The statement: “ $publicFileText = date('ymdhis');” seems to indicate a 
text file as well, storing a date. 

What are the steps you have undertaken to finally store the image with the 
help of your PHP program? Any relevant detail might help, and information 
from logs, and the like. 

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/6e6a665d-b98e-4574-957c-78715029a03e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine]... tejashree mahadik
    • [google-appen... 'George (Cloud Platform Support)' via Google App Engine

Reply via email to