<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: File upload larger than 4 GB fails with cmis 1.1 - File too large error in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/file-upload-larger-than-4-gb-fails-with-cmis-1-1-file-too-large/m-p/52126#M19695</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check the &lt;A href="https://docs.alfresco.com/5.2/pra/1/concepts/cmis-config.html" rel="nofollow noopener noreferrer"&gt;documentation&lt;/A&gt;. The default configuration limits CMIS uploads to 4 GiB but can be modified in alfresco-global.properties. You have already configured that to ignore any file limit according to your initial post, which&amp;nbsp;makes your problem interesting. The display of the shared network drive (representing Alfresco) as FAT should be of no consequence. There should be no restrictions in file size provided the device where your server's contentstore directory is stored on does not have any file size limitations.&lt;/P&gt;&lt;P&gt;Note that you may also have&amp;nbsp;limits implied by the client, i.e. upload via WebDAV may be limited by Windows' HTTP client implementation and/or intermediary network elements, such as HTTP proxies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 May 2018 13:19:35 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2018-05-18T13:19:35Z</dc:date>
    <item>
      <title>File upload larger than 4 GB fails with cmis 1.1 - File too large error</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/file-upload-larger-than-4-gb-fails-with-cmis-1-1-file-too-large/m-p/52122#M19691</link>
      <description>Windows 10, 64 bitAlfresco Community (Build: 201707)===============================Contains:&amp;nbsp;&amp;nbsp; &amp;nbsp;- Alfresco Platform:&amp;nbsp;&amp;nbsp; &amp;nbsp;5.2.g&amp;nbsp;&amp;nbsp; &amp;nbsp;- Alfresco Share:&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;5.2.f&amp;nbsp;&amp;nbsp; - Alfresco-opencmis-extension v.1.1alfresco-global.properties===============================opencmis.maxContentSize=-1Hi1. I tried to uplo</description>
      <pubDate>Fri, 18 May 2018 07:31:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/file-upload-larger-than-4-gb-fails-with-cmis-1-1-file-too-large/m-p/52122#M19691</guid>
      <dc:creator>elcamino</dc:creator>
      <dc:date>2018-05-18T07:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: File upload larger than 4 GB fails with cmis 1.1 - File too large error</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/file-upload-larger-than-4-gb-fails-with-cmis-1-1-file-too-large/m-p/52123#M19692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you also share Alfresco log?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 08:39:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/file-upload-larger-than-4-gb-fails-with-cmis-1-1-file-too-large/m-p/52123#M19692</guid>
      <dc:creator>jayesh_prajapat</dc:creator>
      <dc:date>2018-05-18T08:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: File upload larger than 4 GB fails with cmis 1.1 - File too large error</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/file-upload-larger-than-4-gb-fails-with-cmis-1-1-file-too-large/m-p/52124#M19693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Generally FAT32 file system do not allow upload more then 4 gb file. I just want to be clear if there is anything to do with Alfresco from log.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 08:45:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/file-upload-larger-than-4-gb-fails-with-cmis-1-1-file-too-large/m-p/52124#M19693</guid>
      <dc:creator>jayesh_prajapat</dc:creator>
      <dc:date>2018-05-18T08:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: File upload larger than 4 GB fails with cmis 1.1 - File too large error</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/file-upload-larger-than-4-gb-fails-with-cmis-1-1-file-too-large/m-p/52125#M19694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Note that uploading files under 4GB works fine!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Stopped Alfresco service &amp;amp; database&lt;BR /&gt;2. Erased all logs&lt;BR /&gt;3. Started services again&lt;BR /&gt;4. Mapped a network drive: \\localhost@9090\alfresco\webdav\&lt;BR /&gt;5. Tried to drag &amp;amp; drop a 4.1 GB file into mapped drive (FAILED) (Error: file too large)&lt;BR /&gt;6. Ran my java CMIS 1.1 code to upload 4.1 GB file (FAILED) (Error attached below)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Log is attached below.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 09:15:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/file-upload-larger-than-4-gb-fails-with-cmis-1-1-file-too-large/m-p/52125#M19694</guid>
      <dc:creator>elcamino</dc:creator>
      <dc:date>2018-05-18T09:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: File upload larger than 4 GB fails with cmis 1.1 - File too large error</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/file-upload-larger-than-4-gb-fails-with-cmis-1-1-file-too-large/m-p/52126#M19695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check the &lt;A href="https://docs.alfresco.com/5.2/pra/1/concepts/cmis-config.html" rel="nofollow noopener noreferrer"&gt;documentation&lt;/A&gt;. The default configuration limits CMIS uploads to 4 GiB but can be modified in alfresco-global.properties. You have already configured that to ignore any file limit according to your initial post, which&amp;nbsp;makes your problem interesting. The display of the shared network drive (representing Alfresco) as FAT should be of no consequence. There should be no restrictions in file size provided the device where your server's contentstore directory is stored on does not have any file size limitations.&lt;/P&gt;&lt;P&gt;Note that you may also have&amp;nbsp;limits implied by the client, i.e. upload via WebDAV may be limited by Windows' HTTP client implementation and/or intermediary network elements, such as HTTP proxies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 13:19:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/file-upload-larger-than-4-gb-fails-with-cmis-1-1-file-too-large/m-p/52126#M19695</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-05-18T13:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: File upload larger than 4 GB fails with cmis 1.1 - File too large error</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/file-upload-larger-than-4-gb-fails-with-cmis-1-1-file-too-large/m-p/52127#M19696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why are you using the Alfresco OpenCMIS Extension JAR? That should not be used unless you are using the old 1.0 CMIS service URL, which you absolutely should not be using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something you might be want to try is the "appendContentStream" method (&lt;A href="https://chemistry.apache.org/java/1.0.0/maven/apidocs/org/apache/chemistry/opencmis/client/api/Document.html#appendContentStream-org.apache.chemistry.opencmis.commons.data.ContentStream-boolean-" rel="nofollow noopener noreferrer"&gt;docs&lt;/A&gt;). One drawback the last time I used it is that it creates a version on every append. That may rule it out for you, but it is something to consider.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I find uploading "large" files to be so problematic I ended up integrating another tool along with the Bulk File System Import Tool to solve the problem (&lt;A href="https://www.slideshare.net/jpotts/moving-gigantic-files-into-and-out-of-the-alfresco-repository" rel="nofollow noopener noreferrer"&gt;DevCon presentation&lt;/A&gt;).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 14:24:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/file-upload-larger-than-4-gb-fails-with-cmis-1-1-file-too-large/m-p/52127#M19696</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2018-05-18T14:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: File upload larger than 4 GB fails with cmis 1.1 - File too large error</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/file-upload-larger-than-4-gb-fails-with-cmis-1-1-file-too-large/m-p/52128#M19697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to upload that large file from my desktop to the same machine (localhost) &amp;amp; also to a remote linux redhat server. This resulted in the same issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a small example Maven project &amp;amp;&amp;nbsp; instructions how to replicate the issue. It shouldn`t take more than 10 minutes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 1. Download &amp;amp; install the &lt;A href="https://download.alfresco.com/release/community/201707-build-00028/alfresco-community-installer-201707-win-x64.exe" rel="nofollow noopener noreferrer"&gt;alfresco-community-installer-201707-win-x64.exe&lt;/A&gt; from (&lt;A class="link-titled" href="https://www.alfresco.com/thank-you/thank-you-downloading-alfresco-community-edition" title="https://www.alfresco.com/thank-you/thank-you-downloading-alfresco-community-edition" rel="nofollow noopener noreferrer"&gt;Alfresco Community Edition | Alfresco&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;Step 1.1 Perform default install, set password to: &lt;EM&gt;admin&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Step 2. Start Alfresco services&lt;/P&gt;&lt;P&gt;Step 3. Generate 4.1 GB file to your desktop for example&lt;/P&gt;&lt;P&gt;Step 3.1 Windows cmd command "&lt;EM&gt;fsutil file createnew C:\Users\Administrator\Desktop\4.1GB_file.txt 4402341478&lt;/EM&gt;&lt;SPAN class=""&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Step 3.2 On Linux "&lt;EM&gt;dd if=/dev/zero of=4.1GB_file.txt count=1024 bs=4299161&lt;/EM&gt;"&lt;/P&gt;&lt;P&gt;Step 4. Download &lt;EM&gt;&lt;SPAN class=""&gt;Alfresco-File-Upload-Test.zip&lt;/SPAN&gt;&lt;/EM&gt; (see the attachment)&lt;/P&gt;&lt;P&gt;Step 4. Extract the zip &amp;amp; Import it as new Maven project into your IDE (I use &lt;A href="https://spring.io/tools/sts" rel="nofollow noopener noreferrer"&gt;Spring tool suite&lt;/A&gt;, also known as &lt;A href="https://www.eclipse.org/downloads/" rel="nofollow noopener noreferrer"&gt;Eclipse IDE&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;Step 5. Inside &lt;EM&gt;AlfrescoFileUploadTestApplication.java&lt;/EM&gt; replace String filePath = "C:\\Users\\ElCamino\\Desktop\\4.1GB_file.txt"; to your large file location.&lt;/P&gt;&lt;P&gt;Step 6. Right click on&amp;nbsp;&lt;EM&gt;AlfrescoFileUploadTestApplication.java&lt;/EM&gt; &amp;amp; run as Spring Boot application, or run as java Application.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2018 07:55:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/file-upload-larger-than-4-gb-fails-with-cmis-1-1-file-too-large/m-p/52128#M19697</guid>
      <dc:creator>elcamino</dc:creator>
      <dc:date>2018-05-21T07:55:40Z</dc:date>
    </item>
  </channel>
</rss>

