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.