<?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: How to upload new version of file using its file id by REST in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-upload-new-version-of-file-using-its-file-id-by-rest/m-p/278719#M231849</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello ,&amp;nbsp; how can you do that uploading the files using REST with "/alfresco/service/api/upload/?alf_ticket="+authTicket.&amp;nbsp; Please help me ,than you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Nov 2016 08:29:38 GMT</pubDate>
    <dc:creator>luharry</dc:creator>
    <dc:date>2016-11-03T08:29:38Z</dc:date>
    <item>
      <title>How to upload new version of file using its file id by REST</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-upload-new-version-of-file-using-its-file-id-by-rest/m-p/278717#M231847</link>
      <description>Hello Everyone, I was able to upload the files using REST with "/alfresco/service/api/upload/?alf_ticket="+authTicket. Now when I upload the same file again using the above url pattern, its getting uploaded as a new version but I have a problem here. I am storing my files in the following folder str</description>
      <pubDate>Wed, 16 Dec 2015 06:24:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-upload-new-version-of-file-using-its-file-id-by-rest/m-p/278717#M231847</guid>
      <dc:creator>hari</dc:creator>
      <dc:date>2015-12-16T06:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to upload new version of file using its file id by REST</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-upload-new-version-of-file-using-its-file-id-by-rest/m-p/278718#M231848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For uploading a new version of the old file, we have to give the file id to the updatenoderef as below and just remove the site, container and uloaddirectory options. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;Part[] parts = {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;new FilePart("filedata",filename,fileobj,filetype,null),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;new StringPart("filename", filename),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;new StringPart("description", description),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;new StringPart("updatenoderef", "workspace://SpacesStore/51ae96a1-17fe-4b8e-84fc-68b6700b591c"), &lt;BR /&gt;};&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 06:52:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-upload-new-version-of-file-using-its-file-id-by-rest/m-p/278718#M231848</guid>
      <dc:creator>hari</dc:creator>
      <dc:date>2015-12-16T06:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to upload new version of file using its file id by REST</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-upload-new-version-of-file-using-its-file-id-by-rest/m-p/278719#M231849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello ,&amp;nbsp; how can you do that uploading the files using REST with "/alfresco/service/api/upload/?alf_ticket="+authTicket.&amp;nbsp; Please help me ,than you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2016 08:29:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-upload-new-version-of-file-using-its-file-id-by-rest/m-p/278719#M231849</guid>
      <dc:creator>luharry</dc:creator>
      <dc:date>2016-11-03T08:29:38Z</dc:date>
    </item>
  </channel>
</rss>

