<?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 Content upload script in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/content-upload-script/m-p/81116#M25041</link>
    <description>&lt;P&gt;Hi Alfresco community,&lt;/P&gt;&lt;P&gt;I want to upload some content (folders and files) to Alfresco but I do not want to do it manually, can I write some script to make this task easier and to use it further when I have other content to upload?&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jul 2020 14:15:36 GMT</pubDate>
    <dc:creator>Jaouher</dc:creator>
    <dc:date>2020-07-15T14:15:36Z</dc:date>
    <item>
      <title>Content upload script</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/content-upload-script/m-p/81116#M25041</link>
      <description>&lt;P&gt;Hi Alfresco community,&lt;/P&gt;&lt;P&gt;I want to upload some content (folders and files) to Alfresco but I do not want to do it manually, can I write some script to make this task easier and to use it further when I have other content to upload?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2020 14:15:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/content-upload-script/m-p/81116#M25041</guid>
      <dc:creator>Jaouher</dc:creator>
      <dc:date>2020-07-15T14:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Content upload script</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/content-upload-script/m-p/81117#M25042</link>
      <description>&lt;P&gt;You could write a script in any language of your choice to call file-upload rest apis to upload files into alfresco. If you have multiple files in a folder, then you can iterate the directories and upload the files one by one.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;Following APIs can be utilized:&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.alfresco.com/6.1/concepts/dev-api-by-language-alf-rest-upload-file.html" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/6.1/concepts/dev-api-by-language-alf-rest-upload-file.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.alfresco.com/5.0/references/RESTful-UploadUploadPost.html" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/5.0/references/RESTful-UploadUploadPost.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;An example of &lt;A href="https://docs.alfresco.com/5.0/references/RESTful-UploadUploadPost.html" target="_self" rel="nofollow noopener noreferrer"&gt;Upload Post api using java:&lt;/A&gt;&amp;nbsp;&lt;A href="https://javaworld-abhinav.blogspot.com/2014/09/upload-documents-to-alfresco-using-rest.html" target="_blank" rel="noopener nofollow noreferrer"&gt;https://javaworld-abhinav.blogspot.com/2014/09/upload-documents-to-alfresco-using-rest.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also use CMIS for uploading files, example:&amp;nbsp;&lt;A href="https://ecmarchitect.com/archives/2013/08/26/3528" target="_blank" rel="noopener nofollow noreferrer"&gt;https://ecmarchitect.com/archives/2013/08/26/3528&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;For upload a folder containing multiple files, you can use &lt;A href="https://docs.alfresco.com/6.2/concepts/fileserv-ftp-intro.html" target="_self" rel="nofollow noopener noreferrer"&gt;ftp&lt;/A&gt; or webdav.&lt;/P&gt;
&lt;P&gt;Java example of ftp based upload can be found here:&amp;nbsp;&lt;A href="https://github.com/abhinavmishra14/AlfrescoJMeterLoadTestPlugin/blob/master/src/com/jmeter/alfresco/ftp/upload/UploadDocumentTestFtp.java" target="_blank" rel="noopener nofollow noreferrer"&gt;https://github.com/abhinavmishra14/AlfrescoJMeterLoadTestPlugin/blob/master/src/com/jmeter/alfresco/ftp/upload/UploadDocumentTestFtp.java&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2020 14:59:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/content-upload-script/m-p/81117#M25042</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2020-07-15T14:59:52Z</dc:date>
    </item>
  </channel>
</rss>

