<?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: Complete a DEMO example by calling the alfresco API to implement file upload and create to alfresco in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/complete-a-demo-example-by-calling-the-alfresco-api-to-implement/m-p/35406#M14946</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;You can also upload using file using curl&amp;nbsp;&lt;/P&gt;&lt;PRE class="" style="color: #000000; background: #f5f2f0; border: 0px; margin: 0.5em 0px; padding: 1em 1em 1em 3.8em;"&gt;&lt;STRONG&gt;&lt;CODE style="border: 0px; font-weight: inherit;"&gt;curl -v -X POST -F filedata=@yourDoc.doc -F siteid=testSite-F containerid=documentLibrary -F uploaddirectory=/uploads &lt;A href="http://username:password@localhost:8080/alfresco/service/api/upload" rel="nofollow noopener noreferrer" style="color: #1e88e5; border: 0px; font-weight: inherit; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;http://username:password@localhost:8080/alfresco/service/api/upload &lt;BR /&gt;&lt;/A&gt;&lt;/CODE&gt;&lt;/STRONG&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff; border: 0px;"&gt;This will upload your file yourdoc.doc into&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;EM style="color: #727174; background-color: #ffffff; border: 0px;"&gt;documentLibrary/uploads&lt;/EM&gt;&lt;SPAN style="color: #727174; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;within the specific Share site (testSite). Note that the user who is uploading the document must&amp;nbsp;have the member of that Share site&amp;nbsp;with contributor permission.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff; border: 0px;"&gt;Kalpesh,&lt;BR /&gt;&lt;A href="http://www.contcentric.com" rel="nofollow noopener noreferrer"&gt;ContCentric&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Oct 2017 05:16:02 GMT</pubDate>
    <dc:creator>kalpesh_c2</dc:creator>
    <dc:date>2017-10-24T05:16:02Z</dc:date>
    <item>
      <title>Complete a DEMO example by calling the alfresco API to implement file upload and create to alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/complete-a-demo-example-by-calling-the-alfresco-api-to-implement/m-p/35405#M14945</link>
      <description>How to use&amp;nbsp;alfresco API to&amp;nbsp;Complete a DEMO example by calling the alfresco API to implement file upload and create to alfresco！！！please ！ help~~</description>
      <pubDate>Thu, 19 Oct 2017 07:42:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/complete-a-demo-example-by-calling-the-alfresco-api-to-implement/m-p/35405#M14945</guid>
      <dc:creator>爱你伊万尼</dc:creator>
      <dc:date>2017-10-19T07:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Complete a DEMO example by calling the alfresco API to implement file upload and create to alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/complete-a-demo-example-by-calling-the-alfresco-api-to-implement/m-p/35406#M14946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;You can also upload using file using curl&amp;nbsp;&lt;/P&gt;&lt;PRE class="" style="color: #000000; background: #f5f2f0; border: 0px; margin: 0.5em 0px; padding: 1em 1em 1em 3.8em;"&gt;&lt;STRONG&gt;&lt;CODE style="border: 0px; font-weight: inherit;"&gt;curl -v -X POST -F filedata=@yourDoc.doc -F siteid=testSite-F containerid=documentLibrary -F uploaddirectory=/uploads &lt;A href="http://username:password@localhost:8080/alfresco/service/api/upload" rel="nofollow noopener noreferrer" style="color: #1e88e5; border: 0px; font-weight: inherit; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;http://username:password@localhost:8080/alfresco/service/api/upload &lt;BR /&gt;&lt;/A&gt;&lt;/CODE&gt;&lt;/STRONG&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff; border: 0px;"&gt;This will upload your file yourdoc.doc into&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;EM style="color: #727174; background-color: #ffffff; border: 0px;"&gt;documentLibrary/uploads&lt;/EM&gt;&lt;SPAN style="color: #727174; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;within the specific Share site (testSite). Note that the user who is uploading the document must&amp;nbsp;have the member of that Share site&amp;nbsp;with contributor permission.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff; border: 0px;"&gt;Kalpesh,&lt;BR /&gt;&lt;A href="http://www.contcentric.com" rel="nofollow noopener noreferrer"&gt;ContCentric&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 05:16:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/complete-a-demo-example-by-calling-the-alfresco-api-to-implement/m-p/35406#M14946</guid>
      <dc:creator>kalpesh_c2</dc:creator>
      <dc:date>2017-10-24T05:16:02Z</dc:date>
    </item>
  </channel>
</rss>

