<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><span id="result_box" class="" lang="en"><span>Check the</span> <span>write
          permissions</span> <span>on the</span> <span>folder in which
          you</span> <span>save the file</span><span>.</span><br>
        <span>When</span> <span>downloading a file</span> <span>passes</span>
        <span>100</span><span>% and</span> <span>then</span> <span>there
          is an error</span><span>, then perhaps</span> <span>it is not
          connected</span> <span>with the limitation</span> <span>on</span>
        <span>size</span><span>.</span><br>
        <span class="">Or show</span> <span class="">code</span> <span
          class="">that allows</span> <span class="">to upload files to</span>
        <span class="">the server</span><span class="">.</span></span></p>
    <br>
    <div class="moz-cite-prefix">15.11.2016 11:33, Colin Haig пишет:<br>
    </div>
    <blockquote
      cite="mid:00784859-CE83-48AB-8FBB-4A715BA2B6BE@techdata.net.au"
      type="cite">
      <div>
        <div>
          <div><br>
          </div>
        </div>
      </div>
      <div><br>
      </div>
      <span id="OLK_SRC_BODY_SECTION">
        <div><br>
        </div>
        <div>
          <div style="word-wrap: break-word; -webkit-nbsp-mode: space;
            -webkit-line-break: after-white-space; color: rgb(0, 0, 0);
            font-size: 14px; font-family: Calibri, sans-serif;">
            <div>To All </div>
            <div><br>
            </div>
            <div>I am trying to upload a file using flask – but when I
              upload a large file I get a server error.</div>
            <div><br>
            </div>
            <div>I have tried the following :</div>
            <div><br>
            </div>
            <div>
              <div>app.config['MAX_CONTENT_LENGTH'] = 16 * 1024 * 1024</div>
            </div>
            <div>When I reduce the above setting Flask reports a 413
              error which is is supposed to do</div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>Updated apache server</div>
            <div><br>
            </div>
            <div>Have added LimitRequestBody 0  to my http.conf</div>
            <div><br>
            </div>
            <div>If I upload the file though my locahost flask server
              there are no issues.</div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>When I submit the file upload I can see a counter
              counting up to 100% but then it crashes with a server
              error – I have</div>
            <div>checked the apache logs but can not see any error
              associated with the upload.</div>
            <div><br>
            </div>
            <div>I have searched the web looking for answers but to no
              avail.</div>
            <div><br>
            </div>
            <div>Any help greatly appreciated.</div>
            <div><br>
            </div>
            <div>Regards</div>
            <div><br>
            </div>
            <div>Colin</div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div><br>
            </div>
          </div>
        </div>
      </span>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Flask mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Flask@python.org">Flask@python.org</a>
<a class="moz-txt-link-freetext" href="https://mail.python.org/mailman/listinfo/flask">https://mail.python.org/mailman/listinfo/flask</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Dmitry Podkovyrkin
email: <a class="moz-txt-link-abbreviated" href="mailto:d@ddipp.net">d@ddipp.net</a>
</pre>
  </body>
</html>