<?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: Uploading file problem in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/uploading-file-problem/m-p/254112#M207242</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there any suggestion?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Nov 2010 22:01:35 GMT</pubDate>
    <dc:creator>dark_rider</dc:creator>
    <dc:date>2010-11-17T22:01:35Z</dc:date>
    <item>
      <title>Uploading file problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/uploading-file-problem/m-p/254109#M207239</link>
      <description>We have an applet and have to send a file. We try to perform with default upload restful service ("http://localhost:8080/share/proxy/alfresco/api/upload")I have read and analyzed this topic ( http://forums.alfresco.com/en/viewtopic.php?t=13652 )&amp;nbsp; but not achieved.I get the http 401, http 500 error r</description>
      <pubDate>Thu, 11 Nov 2010 18:24:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/uploading-file-problem/m-p/254109#M207239</guid>
      <dc:creator>dark_rider</dc:creator>
      <dc:date>2010-11-11T18:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading file problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/uploading-file-problem/m-p/254110#M207240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think that URL is the proxy of Share for Alfresco, so probably it is a different connector.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should try to use the default Alfresco (and not Share) REST Upload service at the following URL:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A _jive_internal="true" href="https://community.alfresco.com/alfresco/service/api/upload" rel="nofollow noopener noreferrer"&gt;/alfresco/service/api/upload&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;Package: /org/alfresco/repository/upload &lt;BR /&gt;&lt;BR /&gt;File Upload&lt;BR /&gt;POST /alfresco/service/api/upload&lt;BR /&gt;—&lt;BR /&gt;Upload file content and meta-data into repository. &lt;BR /&gt;HTML form data&lt;BR /&gt;filedata, (mandatory) HTML type file&lt;BR /&gt;siteid&lt;BR /&gt;containerid&lt;BR /&gt;uploaddirectory&lt;BR /&gt;updatenoderef&lt;BR /&gt;filename&lt;BR /&gt;description&lt;BR /&gt;contenttype&lt;BR /&gt;majorversion&lt;BR /&gt;overwrite&lt;BR /&gt;thumbnails&lt;BR /&gt;&lt;BR /&gt;Return content&lt;BR /&gt;nodeRef&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;/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;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;SPAN&gt;Otherwise if you need to upload large files you can use the UploadContentServlet using the PUT HTTP method for your content (the node must be created&amp;nbsp; before upload the content), for more information you can take a look at this address:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/URL_Addressability#UploadContentServlet" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/URL_Addressability#UploadContentServlet&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Nov 2010 11:48:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/uploading-file-problem/m-p/254110#M207240</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2010-11-12T11:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading file problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/uploading-file-problem/m-p/254111#M207241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have tried your suggestion, it asked me username and password and get same error&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;From (ServerResponse): java.io.IOException: Server returned HTTP response code: 400 for URL: &lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/service/api/upload" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/api/upload&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using this link "&lt;/SPAN&gt;&lt;A href="http://localhost:8080/share/proxy/alfresco/api/upload" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/share/proxy/alfresco/api/upload&lt;/A&gt;&lt;SPAN&gt;" , it does not ask me username and password but same error occurs. I do not understand how share site could perform to upload.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am getting the same error&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;From (ServerResponse): java.io.IOException: Server returned HTTP response code: 400 for URL: &lt;/SPAN&gt;&lt;A href="http://localhost:8080/share/proxy/alfresco/api/upload" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/share/proxy/alfresco/api/upload&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As uploading file via Http and java, the samples are very simple and similar like the following links:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.hiteshagrawal.com/java/http-post-file-content-in-java" rel="nofollow noopener noreferrer"&gt;http://www.hiteshagrawal.com/java/http-post-file-content-in-java&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.jguru.com/faq/view.jsp?EID=62798" rel="nofollow noopener noreferrer"&gt;http://www.jguru.com/faq/view.jsp?EID=62798&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What am I supposed to do? Thanks for your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Nov 2010 12:39:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/uploading-file-problem/m-p/254111#M207241</guid>
      <dc:creator>dark_rider</dc:creator>
      <dc:date>2010-11-12T12:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading file problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/uploading-file-problem/m-p/254112#M207242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there any suggestion?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2010 22:01:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/uploading-file-problem/m-p/254112#M207242</guid>
      <dc:creator>dark_rider</dc:creator>
      <dc:date>2010-11-17T22:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading file problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/uploading-file-problem/m-p/254113#M207243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The problem has been solved by using MultipartEntity object.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 13:16:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/uploading-file-problem/m-p/254113#M207243</guid>
      <dc:creator>dark_rider</dc:creator>
      <dc:date>2010-12-08T13:16:30Z</dc:date>
    </item>
  </channel>
</rss>

