<?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: Help with UploadContentServlet in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/help-with-uploadcontentservlet/m-p/102921#M71696</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The UploadContentServlet uses the PUT method to stream content directly into the repositories content store.&amp;nbsp; I'm not sure that's exactly what you are after.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You want to get content selected on a web page uploaded to the web server and then into the repository.&amp;nbsp; Right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If so then have a look a the UploadFileServlet.&amp;nbsp; This the what the Alfresco web client uses to upload files from the browser.&amp;nbsp; It may not be exactly what you are looking for, but might give you some clues.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Roy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jul 2007 08:49:54 GMT</pubDate>
    <dc:creator>rwetherall</dc:creator>
    <dc:date>2007-07-13T08:49:54Z</dc:date>
    <item>
      <title>Help with UploadContentServlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/help-with-uploadcontentservlet/m-p/102919#M71694</link>
      <description>Sorry for the dumb question, but I can't find out how I'm suppose to do a browser content upload from a web application.&amp;nbsp; I'm hoping someone has a small sample as the api doc wasn't any help.I have created a web application that uses webservices and it was fairly easy to upload a file from the web s</description>
      <pubDate>Thu, 05 Jul 2007 15:33:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/help-with-uploadcontentservlet/m-p/102919#M71694</guid>
      <dc:creator>dasjlm</dc:creator>
      <dc:date>2007-07-05T15:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help with UploadContentServlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/help-with-uploadcontentservlet/m-p/102920#M71695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is just a guess but maybe you can find examples of how to do this in Subversion? Perhaps the Word integration has the code that you're looking for?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2007 22:29:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/help-with-uploadcontentservlet/m-p/102920#M71695</guid>
      <dc:creator>dozyarmadillo</dc:creator>
      <dc:date>2007-07-11T22:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Help with UploadContentServlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/help-with-uploadcontentservlet/m-p/102921#M71696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The UploadContentServlet uses the PUT method to stream content directly into the repositories content store.&amp;nbsp; I'm not sure that's exactly what you are after.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You want to get content selected on a web page uploaded to the web server and then into the repository.&amp;nbsp; Right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If so then have a look a the UploadFileServlet.&amp;nbsp; This the what the Alfresco web client uses to upload files from the browser.&amp;nbsp; It may not be exactly what you are looking for, but might give you some clues.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Roy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2007 08:49:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/help-with-uploadcontentservlet/m-p/102921#M71696</guid>
      <dc:creator>rwetherall</dc:creator>
      <dc:date>2007-07-13T08:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: Help with UploadContentServlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/help-with-uploadcontentservlet/m-p/102922#M71697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Like so many others I'm having a hard time trying to figure out how to call the UploadContentServlet from a regular browser doing a file (content) upload in a form. I'm aware of the fact that PUT's are not allowed in html5- but how to work around this using a browser for the upload?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As suggested on the wiki, I tried to 'tunnel' a PUT in an upload request with the alf_method parameter but I keep getting the HTTP 405 error saying that the POST method is not supported by the servlet. So the parameter is ignored in this case?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the test html I used:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;html&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;form action="&lt;/SPAN&gt;&lt;A href="http://.../alfresco/upload/workspace/SpacesStore/4415ae09-dfc2-437b-a14d-795943e939ce/P123_2T2W1-24H_webservices.xlf?alf_method=PUT" rel="nofollow noopener noreferrer"&gt;http://.../alfresco/upload/workspace/SpacesStore/4415ae09-dfc2-437b-a14d-795943e939ce/P123_2T2W1-24H_webservices.xlf?alf_method=PUT&lt;/A&gt;&lt;SPAN&gt;" method="POST"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;p&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please specify a file:&amp;lt;br&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;input type="file" name="datafile" size="40"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/p&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;div&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;input type="submit" value="Send"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/div&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/form&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/html&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then I looked (a long time) for client-side javascript that could do the file upload with a PUT but I didn't find any.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My questions then:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Can a PUT to the UploadContentServlet be done in a (regular) browser?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. If not, what is the simplest alternative to upload new content to a node?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We use Alfresco (3.2r2) as a backend translation workflow system. We don't want translators to have to login to the Alfresco client to do work and instead send them emails with instructions and links to download, upload and commit (approve) their work. Everything works except the upload…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Suggestions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Arne.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 23:13:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/help-with-uploadcontentservlet/m-p/102922#M71697</guid>
      <dc:creator>arnel</dc:creator>
      <dc:date>2010-09-24T23:13:00Z</dc:date>
    </item>
  </channel>
</rss>

