<?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: Add a download link in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Add-a-download-link/m-p/435614#M3089</link>
    <description>&lt;P&gt;&amp;nbsp;what if that file is an image ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how to download ?&lt;/P&gt;</description>
    <pubDate>Fri, 09 Feb 2018 12:33:27 GMT</pubDate>
    <dc:creator>Attyslogin</dc:creator>
    <dc:date>2018-02-09T12:33:27Z</dc:date>
    <item>
      <title>Add a download link</title>
      <link>https://communities.sas.com/t5/Developers/Add-a-download-link/m-p/58758#M3087</link>
      <description>I am building a SPWA based web application. I want to add a download link to the web page for users to download the data to an Excel spreadsheet like "Donwload to Spreadsheet" link shown in the following Yahoo Historical Stock Price page:&lt;BR /&gt;
&lt;A href="http://finance.yahoo.com/q/hp?s=^GSPC" target="_blank"&gt;http://finance.yahoo.com/q/hp?s=^GSPC&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Any hints are appreciated!</description>
      <pubDate>Wed, 05 Jan 2011 04:15:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Add-a-download-link/m-p/58758#M3087</guid>
      <dc:creator>MarcTC</dc:creator>
      <dc:date>2011-01-05T04:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Add a download link</title>
      <link>https://communities.sas.com/t5/Developers/Add-a-download-link/m-p/58759#M3088</link>
      <description>You will find many good references if you go to &lt;A href="http://support.sas.com" target="_blank"&gt;http://support.sas.com&lt;/A&gt; and then search for:&lt;BR /&gt;
&lt;BR /&gt;
download csv&lt;BR /&gt;
&lt;BR /&gt;
The key is to create to a streaming stored process that sets the appropriate MIME headers.  Give this (untested) code a try:&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
%let RV=%sysfunc(appsrv_header(Content-type, application/vnd.ms-excel));&lt;BR /&gt;
%let RV=%sysfunc(appsrv_header(Content-disposition, %str(attachment; filename=temp.csv)));&lt;BR /&gt;
&lt;BR /&gt;
ods listing close;&lt;BR /&gt;
ods csv file=_webout;&lt;BR /&gt;
  proc print data=sashelp.class; run; quit;&lt;BR /&gt;
ods csv close;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
Vince DelGobbo&lt;BR /&gt;
SAS R&amp;amp;D</description>
      <pubDate>Wed, 05 Jan 2011 13:43:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Add-a-download-link/m-p/58759#M3088</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2011-01-05T13:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: Add a download link</title>
      <link>https://communities.sas.com/t5/Developers/Add-a-download-link/m-p/435614#M3089</link>
      <description>&lt;P&gt;&amp;nbsp;what if that file is an image ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how to download ?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2018 12:33:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Add-a-download-link/m-p/435614#M3089</guid>
      <dc:creator>Attyslogin</dc:creator>
      <dc:date>2018-02-09T12:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: Add a download link</title>
      <link>https://communities.sas.com/t5/Developers/Add-a-download-link/m-p/436453#M3090</link>
      <description>&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/88783"&gt;@Attyslogin&lt;/a&gt;&amp;nbsp;- can you provide more details on what you want to do?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Vince DelGobbo&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;SAS R&amp;amp;D&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2018 21:07:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Add-a-download-link/m-p/436453#M3090</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2018-02-12T21:07:02Z</dc:date>
    </item>
  </channel>
</rss>

