Unable upload large file size on 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:04 UTC
Read the original article Hit count: 243

Filed under:
|
|

Hi,

I am uploading document 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 it result into 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 size file on Google Docs? I am using Google API ver 2.

Thanx

© Stack Overflow or respective owner

Related posts about c#

Related posts about upload