<?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: Upload &amp; Download large files to and from the repository in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/upload-download-large-files-to-and-from-the-repository/m-p/304187#M257317</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't quite understand the question / necessity to handle download / uploads manually. There are already good upload / download handlers / web scripts in Alfresco out of the box.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In regards to the core of your question: No matter how you work with files, all methods deal with arrays of bytes, because that is what files ultimately are - streams of bytes. You can use the standard Input-/OutputStream abstractions via the ContentReader/ContentWriter interfaces of Alfresco to stream the bytes without you having to handle arrays of bytes yourself. Of course this requires you have a streamable input / output in the request you are processing. When using HTTP (via Servlet or Web Script) you have the Input-/OutputStream of the HTTP request.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Feb 2014 09:56:37 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2014-02-25T09:56:37Z</dc:date>
    <item>
      <title>Upload &amp; Download large files to and from the repository</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/upload-download-large-files-to-and-from-the-repository/m-p/304186#M257316</link>
      <description>I have large files to be uploaded and downloaded to and from the repository, Is there any any way in Alfresco to do that instead of converting them to array of bytes?</description>
      <pubDate>Sun, 23 Feb 2014 05:32:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/upload-download-large-files-to-and-from-the-repository/m-p/304186#M257316</guid>
      <dc:creator>aelrwiny</dc:creator>
      <dc:date>2014-02-23T05:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: Upload &amp; Download large files to and from the repository</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/upload-download-large-files-to-and-from-the-repository/m-p/304187#M257317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't quite understand the question / necessity to handle download / uploads manually. There are already good upload / download handlers / web scripts in Alfresco out of the box.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In regards to the core of your question: No matter how you work with files, all methods deal with arrays of bytes, because that is what files ultimately are - streams of bytes. You can use the standard Input-/OutputStream abstractions via the ContentReader/ContentWriter interfaces of Alfresco to stream the bytes without you having to handle arrays of bytes yourself. Of course this requires you have a streamable input / output in the request you are processing. When using HTTP (via Servlet or Web Script) you have the Input-/OutputStream of the HTTP request.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 09:56:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/upload-download-large-files-to-and-from-the-repository/m-p/304187#M257317</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2014-02-25T09:56:37Z</dc:date>
    </item>
  </channel>
</rss>

