OK...I was trying this as an alternate route because of the inability
to upload PDFs...help us out guys :)


Thanks,
João


On Jan 6, 1:55 am, "Eric (Google)" <[email protected]> wrote:
> Hi Joao,
>
> I've verfied this is a 
> bug:http://code.google.com/p/gdata-issues/issues/detail?id=962
>
> Please star/comment on the issue.
>
> Thanks!
> Eric
>
> On Jan 2, 10:04 am, jmngomes <[email protected]> wrote:
>
>
>
> > Hello,
>
> > I'm running into some trouble uploading an RTF file to Google Docs,
> > using the .NET API (v2.0). The code works perfectly if I simply change
> > the desired file to a text file:
>
> > docEntry = docService.UploadDocument("C:\\test.rtf","test"); //this
> > crashes
>
> > docEntry = docService.UploadDocument("C:\\anotherTest.txt","test"); //
> > this is fine
>
> > I can, however, upload the document using Google Docs' Web interface,
> > and it displays fine, as it does in MS Word (where it was created).
>
> > This is the exception I get:
>
> > Google.GData.Client.GDataRequestException was unhandled
> >   Message="Execution of request 
> > failed:http://docs.google.com/feeds/documents/private/full";
> >   Source="Google.GData.Client"
> >   ResponseString="Could not convert document."
> >   StackTrace:
> >        at Google.GData.Client.GDataRequest.Execute()
> >        at Google.GData.Client.GDataGAuthRequest.Execute(Int32
> > retryCounter)
> >        at Google.GData.Client.GDataGAuthRequest.Execute()
> >        at Google.GData.Client.Service.StreamSend(Uri targetUri, Stream
> > inputStream, GDataRequestType type, String contentType, String
> > slugHeader, AsyncSendData data)
> >        at Google.GData.Client.Service.StreamSend(Uri targetUri, Stream
> > inputStream, GDataRequestType type, String contentType, String
> > slugHeader)
> >        at Google.GData.Client.Service.Insert(Uri uriTarget, Stream
> > input, String contentType, String slugHeader)
> >        at Google.GData.Documents.DocumentsService.UploadDocument
> > (String fileName, String documentName)
> >        at (...)
>
> > By the way, what is the size limit for RTF files uploaded using the
> > API?
>
> > Thanks in advance :)
> > João- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Docs-Data-APIs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to