<?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: Web Script Which Returns a Repository File in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/web-script-which-returns-a-repository-file/m-p/215035#M168165</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks! That is so helpful. Along the same lines, is there a way to return an HTML file such that it would be loaded by the browser making the request, and now downloaded? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-A&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Apr 2010 17:51:44 GMT</pubDate>
    <dc:creator>brokenindexfing</dc:creator>
    <dc:date>2010-04-28T17:51:44Z</dc:date>
    <item>
      <title>Web Script Which Returns a Repository File</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-script-which-returns-a-repository-file/m-p/215033#M168163</link>
      <description>Hello All,Maybe this is a stupid question, but I can't find any examples or documentation of how I would write a very simple web script which would just return a single file that is on the repository. I don't want to display a list of files on the repository, or some other widget-like thing, I want</description>
      <pubDate>Tue, 27 Apr 2010 22:53:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-script-which-returns-a-repository-file/m-p/215033#M168163</guid>
      <dc:creator>brokenindexfing</dc:creator>
      <dc:date>2010-04-27T22:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Web Script Which Returns a Repository File</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-script-which-returns-a-repository-file/m-p/215034#M168164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You don't need to implement a new webscript for this goal.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can use the DownloadContentServlet to return a file in the response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You have to perform an HTTP GET request with the following URL:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;/alfresco/download/&amp;lt;direct|attach&amp;gt;/&amp;lt;workspace&amp;gt;/&amp;lt;store&amp;gt;/&amp;lt;nodeId&amp;gt;/&amp;lt;filename&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;More information here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/URL_Addressability#DownloadContentServlet" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/URL_Addressability#DownloadContentServlet&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Apr 2010 09:13:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-script-which-returns-a-repository-file/m-p/215034#M168164</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2010-04-28T09:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Web Script Which Returns a Repository File</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-script-which-returns-a-repository-file/m-p/215035#M168165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks! That is so helpful. Along the same lines, is there a way to return an HTML file such that it would be loaded by the browser making the request, and now downloaded? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-A&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Apr 2010 17:51:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-script-which-returns-a-repository-file/m-p/215035#M168165</guid>
      <dc:creator>brokenindexfing</dc:creator>
      <dc:date>2010-04-28T17:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: Web Script Which Returns a Repository File</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-script-which-returns-a-repository-file/m-p/215036#M168166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ah, I get it, you dictate whether the guestDownload file is downloaded or loaded into the browser with the &amp;lt; attach | direct &amp;gt; option. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;/alfresco/download/&amp;lt;direct|attach&amp;gt;/&amp;lt;workspace&amp;gt;/&amp;lt;store&amp;gt;/&amp;lt;nodeId&amp;gt;/&amp;lt;filename&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Thanks again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Apr 2010 18:36:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-script-which-returns-a-repository-file/m-p/215036#M168166</guid>
      <dc:creator>brokenindexfing</dc:creator>
      <dc:date>2010-04-28T18:36:33Z</dc:date>
    </item>
  </channel>
</rss>

