<?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 Alfresco Download Content in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-download-content/m-p/251151#M204281</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;I am working on downloading content from Alfresco. I know Alfresco has exposed webscripts to download content.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have content url like &lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/d/a/workspace/SpacesStore/82fc955f-17b3-488b-84ec-3d14a8e3333e/Recurring%20Report%201.published.pdf" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/d/a/workspace/SpacesStore/82fc955f-17b3-488b-84ec-3d14a8e3333e/Recurring%20Report%201.published.pdf&lt;/A&gt;&lt;SPAN&gt;, but i want to hit this url from my java class using below code..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;String DOWNLOAD_URL&amp;nbsp; = &lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/d/a/workspace/SpacesStore/82fc955f-17b3-488b-84ec-3d14a8e3333e/Recurring%20Report%201.published.pdf" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/d/a/workspace/SpacesStore/82fc955f-17b3-488b-84ec-3d14a8e3333e/Recurring%20Report%201.published.pdf&lt;/A&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;HttpClient httpClient = new HttpClient();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GetMethod downloAdGetMethod = new GetMethod(DOWNLOAD_URL);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;int responseCodeD = httpClient.executeMethod(downloAdGetMethod);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As I have &amp;lt;a:commandLink&amp;gt; onclick of this i am calling function which has above code. So onclick of that link a popup should come to download that content.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i need your valuable suggestion.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;alfsender&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Nov 2012 06:04:32 GMT</pubDate>
    <dc:creator>alfsender</dc:creator>
    <dc:date>2012-11-20T06:04:32Z</dc:date>
    <item>
      <title>Alfresco Download Content</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-download-content/m-p/251151#M204281</link>
      <description>Hi All,I am working on downloading content from Alfresco. I know Alfresco has exposed webscripts to download content.I have content url like http://localhost:8080/alfresco/d/a/workspace/SpacesStore/82fc955f-17b3-488b-84ec-3d14a8e3333e/Recurring%20Report%201.published.pdf, but i want to hit this url</description>
      <pubDate>Tue, 20 Nov 2012 06:04:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-download-content/m-p/251151#M204281</guid>
      <dc:creator>alfsender</dc:creator>
      <dc:date>2012-11-20T06:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Download Content</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-download-content/m-p/251152#M204282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We can't help you unless you tell us what is wrong or error messages you are seeing. Can you provide more detail? One thing I suspect you will run into is that the request requires authentication, so you will need to set auth headers to make that get call.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, have you considered using OpenCMIS to retrieve the content? Then you wouldn't have to deal with raw HTTP requests.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2012 18:05:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-download-content/m-p/251152#M204282</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2012-11-28T18:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Download Content</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-download-content/m-p/251153#M204283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi jeff,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will try you inputs in my work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your response ..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 09:28:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-download-content/m-p/251153#M204283</guid>
      <dc:creator>alfsender</dc:creator>
      <dc:date>2012-11-29T09:28:48Z</dc:date>
    </item>
  </channel>
</rss>

