I'm using the gdata python client for the google docs api for a project. I use oauth authentication and all the dance, and have successfully uploaded .doc, .xls and every file type in Their FAQ. but I cannot seem to upload pdf files, even though is right there, listed on the supported filetypes. I tried with the latest version of gdata (released last week) to no avail. Also, I'd like to be able to upload .pptx files, though I realize that that extension is not supported.
Has anybody out there succesfully uploaded a pdf file to google docs via their gdata python client?
Done. First did this http://code.google.com/p/gdata-issues/issues/detail?id=591#c77
but now I was getting a bad request error
"invalid request uri"
. So I then discovered in another google thread that the uri for the v3.0 apis was no longerhttp://docs.google.com/feeds/folders/private/full/<resource-id>
buthttp://docs.google.com/feeds/default/private/full/<resource-id>/contents
Hacked my copy of gdata to replace
folders
withdefault
and append/contents
and voilà, now it worked for pdfs and all the other supported stuff.Haven't solved the pptx issue, though...