To give another view of my problem:
I am using APIs from a web service and getting an MS word document.  I
have the content of the document and I am trying to use the GDATA APIs
to upload the content directly into Google Docs.  All the APIs I see
require a "file_path" but I do not have one since I got the content
directly from a web service. Is there any way to feed file contents
into the GDATA document upload APIs?  Is Big Table a possible
solutions?

Thanks,
Adil

On Sep 17, 9:52 am, Adil <aminha...@gmail.com> wrote:
> I am a noob with a use case: to upload documents into Google Docs, be
> able to make changes and then export them back to my local directory.
> I am using Eclipse pydev SDK. I am using the following API that I
> found on:
>
> http://code.google.com/apis/documents/docs/1.0/developers_guide_pytho...
>
> API:
> ms = gdata.MediaSource(file_path='/path/to/your/test.doc',
> content_type=gdata.docs.service.SUPPORTED_FILETYPES['DOC'])
> entry = gd_client.Upload(ms, 'MyDocTitle')
> print 'Document now accessible online at:', entry.GetAlternateLink
> ().href
>
> ****
> The Error that I am facing is the following:
>
> IOError: [Errno 13] file not accessible: 'C:/Documents and Settings/
> aminhas3/My Documents/CSC/SpringCM/Potluck.doc'
>
> ****
> In my google search for the "Errno 13" I found this answer from Google
> (Its from back in July 2008):
>
> Subject:[google-appengine] Re: dev_appserver IOError [Errno 13] file
> not accessibleActions...From:Daniel O'Brien (de...@google.com)Date:Jul
> 1, 2008 4:21:17 pmList:com.googlegroups.google-appengine
> Reading local files - whether using the SDK or on our production
> servers - currently isn't permitted. That likely explains the error
> you're seeing.
>
> Daniel
>
> ****
>
> So I need to figure out if I can upload the documents from my local
> directory, and if so, what could it be that I am getting this error
> for? OR if I can't upload from the local directory, then what could be
> my other choices in uploading documents into Google Docs? Any help is
> appreciated :)
>
> Thank you,
> Adil
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to