Unable to upload large files to Google Docs

Posted by Preeti on Stack Overflow See other posts from Stack Overflow or by Preeti
Published on 2010-05-15T07:00:10Z Indexed on 2010/05/15 7:14 UTC
Read the original article Hit count: 205

Filed under:
|
|

I am uploading documents on Google Docs as:

DocumentsService myService = new DocumentsService("");
myService.setUserCredentials("[email protected]", password );
DocumentEntry newEntry = myService.UploadDocument(@"C:\Sample.txt", "Sample.txt");

But when I try to upload a file of 3 MB I get an exception:

An unhandled exception of type 'Google.GData.Client.GDataRequestException' occurred in Google.GData.Client.dll Additional information: Execution of request failed: http://docs.google.com/feeds/documents/private/full

How can I upload large files to Google Docs? I am using Google API ver 2.

© Stack Overflow or respective owner

Related posts about c#

Related posts about upload