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_python.html#UploadingWPDocs

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