<bdo id='dpyAL'></bdo><ul id='dpyAL'></ul>
<tfoot id='dpyAL'></tfoot>

    1. <small id='dpyAL'></small><noframes id='dpyAL'>

    2. <legend id='dpyAL'><style id='dpyAL'><dir id='dpyAL'><q id='dpyAL'></q></dir></style></legend>

      1. <i id='dpyAL'><tr id='dpyAL'><dt id='dpyAL'><q id='dpyAL'><span id='dpyAL'><b id='dpyAL'><form id='dpyAL'><ins id='dpyAL'></ins><ul id='dpyAL'></ul><sub id='dpyAL'></sub></form><legend id='dpyAL'></legend><bdo id='dpyAL'><pre id='dpyAL'><center id='dpyAL'></center></pre></bdo></b><th id='dpyAL'></th></span></q></dt></tr></i><div id='dpyAL'><tfoot id='dpyAL'></tfoot><dl id='dpyAL'><fieldset id='dpyAL'></fieldset></dl></div>
      2. 无法将大文件上传到 Google 文档

        时间:2023-06-03
        <legend id='1XXuM'><style id='1XXuM'><dir id='1XXuM'><q id='1XXuM'></q></dir></style></legend>

              <tbody id='1XXuM'></tbody>
          1. <tfoot id='1XXuM'></tfoot>

              <i id='1XXuM'><tr id='1XXuM'><dt id='1XXuM'><q id='1XXuM'><span id='1XXuM'><b id='1XXuM'><form id='1XXuM'><ins id='1XXuM'></ins><ul id='1XXuM'></ul><sub id='1XXuM'></sub></form><legend id='1XXuM'></legend><bdo id='1XXuM'><pre id='1XXuM'><center id='1XXuM'></center></pre></bdo></b><th id='1XXuM'></th></span></q></dt></tr></i><div id='1XXuM'><tfoot id='1XXuM'></tfoot><dl id='1XXuM'><fieldset id='1XXuM'></fieldset></dl></div>
                <bdo id='1XXuM'></bdo><ul id='1XXuM'></ul>

                • <small id='1XXuM'></small><noframes id='1XXuM'>

                  本文介绍了无法将大文件上传到 Google 文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  我在 Google Docs 上上传文件为:

                  I am uploading documents on Google Docs as:

                  DocumentsService myService = new DocumentsService("");
                  myService.setUserCredentials("username@domain.com", password );
                  DocumentEntry newEntry = myService.UploadDocument(@"C:Sample.txt", "Sample.txt");
                  

                  但是当我尝试上传 3 MB 的文件时,我得到一个异常:

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

                  未处理的类型异常'Google.GData.Client.GDataRequestException'发生在 Google.GData.Client.dll附加信息:执行请求失败:http://docs.google.com/feeds/documents/private/full

                  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

                  如何将大文件上传到 Google 文档?我正在使用 Google API 版本 2.

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

                  推荐答案

                  在您的代码中,您正尝试上传 .txt 文件.

                  In your code you are attempting to upload a .txt file.

                  这将被转换为 Google Docs文档"文件.

                  This will be converted to a Google Docs "Document" file.

                  可以转换的文件限制为 100 万个字符(大小为 2Mb).

                  Files that can be converted are limited to 1 Million characters of (2Mb in size).

                  如果您将扩展名类型更改为 Google 文档无法识别的内容(例如 .log),它将允许您上传最大 10Gb 的文件!虽然免费帐户只有 1Gb 的文件存储空间.

                  If you change the extension type to something that is not recognised by Google Docs (for example .log), it will allow you to upload a file of up to 10Gb! Although the free account only has 1Gb of storage for files.

                  这将允许您通过应用程序存储和检索文件,但用户将无法使用 Google 文档界面直接修改它们,尽管他们仍然可以下载文件.

                  This will allow you to store and retrieve files via your application, but the user will not be able to directly modify them with the Google docs interface, although they can still download it.

                  这篇关于无法将大文件上传到 Google 文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:C# - 我无法引用 HttpPostedFileBase 下一篇:ASP.NET MVC 上传图片

                  相关文章

                  最新文章

                  <tfoot id='TAhpI'></tfoot>
                • <small id='TAhpI'></small><noframes id='TAhpI'>

                  1. <i id='TAhpI'><tr id='TAhpI'><dt id='TAhpI'><q id='TAhpI'><span id='TAhpI'><b id='TAhpI'><form id='TAhpI'><ins id='TAhpI'></ins><ul id='TAhpI'></ul><sub id='TAhpI'></sub></form><legend id='TAhpI'></legend><bdo id='TAhpI'><pre id='TAhpI'><center id='TAhpI'></center></pre></bdo></b><th id='TAhpI'></th></span></q></dt></tr></i><div id='TAhpI'><tfoot id='TAhpI'></tfoot><dl id='TAhpI'><fieldset id='TAhpI'></fieldset></dl></div>
                    <legend id='TAhpI'><style id='TAhpI'><dir id='TAhpI'><q id='TAhpI'></q></dir></style></legend>

                      • <bdo id='TAhpI'></bdo><ul id='TAhpI'></ul>