Tag: google docs

无法将大型文件上传到Google文档

我将文档上传到Google文档: DocumentsService myService = new DocumentsService(“”); myService.setUserCredentials(“username@domain.com”, password ); DocumentEntry newEntry = myService.UploadDocument(@”C:\Sample.txt”, “Sample.txt”); 但是当我尝试上传3 MB的文件时,我得到一个例外: Google.GData.Client.dll中出现“Google.GData.Client.GDataRequestException”类型的未处理exception。其他信息:请求执行失败: http ://docs.google.com/feeds/documents/private/full 如何将大型文件上传到Google文档? 我使用的是Google API ver 2。