<?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: Throws error when uploading file to Alfresco with Curl in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/throws-error-when-uploading-file-to-alfresco-with-curl/m-p/287270#M240400</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;your content type parameter is incorrect. This is not meant to be the mime type of the file you are uploading, but the Alfresco specific document type, i.e. wether the file represents an invoice or such. In standard Alfresco, you usually set this value to "cm:content" for a standard type of document.&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, 07 Jan 2014 09:14:13 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2014-01-07T09:14:13Z</dc:date>
    <item>
      <title>Throws error when uploading file to Alfresco with Curl</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/throws-error-when-uploading-file-to-alfresco-with-curl/m-p/287269#M240399</link>
      <description>I have a php script that uploads files to Alfresco using curl, it works fine with local setup of Alfresco on my system. But, fails when the same is used to upload to production copy.Below is the sample code:$url ='http://admin&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;asswd@WEBURL:8000/alfresco/service/api/upload'; $filename = 'john.jpeg';</description>
      <pubDate>Sat, 04 Jan 2014 05:32:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/throws-error-when-uploading-file-to-alfresco-with-curl/m-p/287269#M240399</guid>
      <dc:creator>rumana</dc:creator>
      <dc:date>2014-01-04T05:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Throws error when uploading file to Alfresco with Curl</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/throws-error-when-uploading-file-to-alfresco-with-curl/m-p/287270#M240400</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;your content type parameter is incorrect. This is not meant to be the mime type of the file you are uploading, but the Alfresco specific document type, i.e. wether the file represents an invoice or such. In standard Alfresco, you usually set this value to "cm:content" for a standard type of document.&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, 07 Jan 2014 09:14:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/throws-error-when-uploading-file-to-alfresco-with-curl/m-p/287270#M240400</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2014-01-07T09:14:13Z</dc:date>
    </item>
  </channel>
</rss>

