On Sun, Jan 12, 2014 at 6:53 AM, Pravanjan Niranjan <
[email protected]> wrote:
>
>   Just want  to add text content  to  my earlier created file in drive
> using api.
>   by using this(
> https://developers.google.com/drive/v2/reference/files/update ) url i can
> update the      file detail which is pretty cool  .
>   But my requirement is to add text date inside file .
>
> Eg. I have my file id in datastore and add the inputed string to the file.
>
> The value would be "messageTakeTime :7:30
>                                call conclusion : we here to help you "
>


In this case, the update endpoint isn't synonymous with append.

If you want to add the above String, you need to download the original
file, add in the string, then reupload the file. Make sure you're using the
correct URL as well; the metadata URL and the file content update URL are
different.


-----------------
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
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 http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to