我在谷歌文档上传文件为:无法上传大文件到谷歌文档
DocumentsService myService = new DocumentsService("");
myService.setUserCredentials("[email protected]", password);
DocumentEntry newEntry = myService.UploadDocument(@"C:\Sample.txt", "Sample.txt");
但是当我尝试上传的3 MB文件我得到一个异常:
的的 类型“Google.GData.Client.GDataRequestException” 未处理的异常在Google.GData.Client.dll发生 其他信息: 请求的执行失败: http://docs.google.com/feeds/documents/private/full
如何将大文件上传到Google文档? 我正在使用谷歌API版本2.
但我在“GoogleEmailUploader”中看到他们正在上传大尺寸的邮件。因此,我们必须以某种方式上传带有大量附件的邮件。 而在我的情况下,我无法上传2 MB大小的邮件。 – Preeti 2010-05-17 11:13:42