hi eric, thank you for your information but here supported filter type TXT is already there and im uploaing just a simple text file and its showing same error again
On Mon, Aug 31, 2009 at 12:37 PM, Eric Bidelman<api.e...@google.com> wrote: > Looks like the library is sending the wrong content type > because it doesn't know about your mimetype. > Zend_Gdata_Docs is very out of date. It doesn't even include > improvements that were added to v2.0 of the API. Until it's updated, > you can round of the list of suported mimetypes by adding them to > to: > private static $SUPPORTED_FILETYPES = array( > 'CSV'=>'text/csv', > 'DOC'=>'application/msword', > 'ODS'=>'application/vnd.oasis.opendocument.spreadsheet', > 'ODT'=>'application/vnd.oasis.opendocument.text', > 'RTF'=>'application/rtf', > 'SXW'=>'application/vnd.sun.xml.writer', > 'TXT'=>'text/plain', > 'XLS'=>'application/vnd.ms-excel'); > in Zend/library/Zend/Gdata/Docs.php > The supported list is here: > http://code.google.com/apis/documents/faq.html#WhatKindOfFilesCanIUpload > Eric > > On Mon, Aug 31, 2009 at 4:55 PM, Graham Chiu <compkar...@gmail.com> wrote: >> >> >> http://code.google.com/apis/documents/docs/3.0/developers_guide_protocol.html#UploadingDocs >> >> That's correct. You have the incorrect content-type >> >> On Mon, Aug 31, 2009 at 6:33 PM, >> mahidharko...@gmail.com<mahidharko...@gmail.com> wrote: >> > >> > hi, >> > >> > im trying t upload file from my localsystem to google documents but it >> > showing >> > >> > Uncaught exception 'Zend_Gdata_App_HttpException' with message >> > 'Expected response code 200, got 415 Content-Type application/x-www- >> > form-urlencoded is not a valid input type >> > >> > i downloaded zend frame work to my xampp and i have run the docs.php >> > its working fine in listingdocuments and searching perticular document >> > but for uploading its throwing above error 415 can any one help me to >> > how to get rigid with this error. >> >> >> -- >> Graham Chiu >> http://www.synapsedirect.com >> Synapse - the use from anywhere EMR. >> >> > > > > > -- K S R K Mahidhar +919176567014 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Docs Data APIs" group. To post to this group, send email to Google-Docs-Data-APIs@googlegroups.com To unsubscribe from this group, send email to google-docs-data-apis+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Docs-Data-APIs?hl=en -~----------~----~----~----~------~----~------~--~---