Ebeo / google-gdata

Automatically exported from code.google.com/p/google-gdata
0 stars 0 forks source link

Delete just Uploaded document ERROR! #363

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
var DR=new DocumentRequest(...);
var de= DR.Service.UploadDocument(filepath, filename);//Success, de is 
DocumentEntry object returned by the function
de.Delete(); //ERROR, get exception thow

Q: How to delete returned uploaded DocumentEntry item?

I want to upload new document to specific folder, UploadDocument and 
then var newdoc=DR.MoveDocumentTo(folder, doc); but the returned 
DocumentEntry seems can not be deleted like the snippet above demonstrated.

Original issue reported on code.google.com by G.Talk.G on 2 Apr 2010 at 12:33

GoogleCodeExporter commented 9 years ago
What is the ResponseString property of the exception thrown?

Original comment by fman...@gmail.com on 6 Apr 2010 at 12:35

GoogleCodeExporter commented 9 years ago
It seems like server's temporal glitch, there's no exception raised for now. So 
weired!

Original comment by G.Talk.G on 6 Apr 2010 at 3:20

GoogleCodeExporter commented 9 years ago
Computing is like magic.... :) Glad it is working now

Frank

Original comment by fman...@gmail.com on 6 Apr 2010 at 5:10