Upload file from local filesystem to google docs

26 views
Skip to first unread message

sht9001

unread,
Jun 28, 2011, 2:27:44 AM6/28/11
to Google App Engine
Hello ,

I need help to upload file on Google docs.

I am developing simple web application in java which is hosted on app
engine. I have done authorization using authsub protocol to access
private feeds on google docs.For all this I have used document list
API.

Now I want to upload file from my local filesystem( /root/test.txt )
to google docs through this web application but it throws me Security
exception.

java.security.AccessControlException: access denied
(java.io.FilePermission /root/test.txt read)

when i tried to upload file "web-inf/test.txt",it uploaded
successfully.

Does anyone know about this, why this happens??

Felipe Teixeira

unread,
Jun 29, 2011, 12:58:36 AM6/29/11
to google-a...@googlegroups.com, sht...@gmail.com
You dont have permission to read files in root,

you need config you OS.

see you

2011/6/28 sht9001 <sht...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.




--
Felipe Teixeira
Desenvolvedor Java
IPNET Soluções
Tel.: 55 21 3553 2717 / 21-7805-6867
Rua Visconde de Inhaúma, 134, Sala 615
Centro - RJ - CEP: 20091-007




sht9001

unread,
Jun 29, 2011, 2:30:38 AM6/29/11
to google-a...@googlegroups.com, sht...@gmail.com
Hello Felipe,

Thanks for the reply..


Even i have tried to uplaod files from my /home directory file system having 777 permission still got the same error.



Reply all
Reply to author
Forward
0 new messages