<?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: Geoprocessing Service output param type: File in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/geoprocessing-service-output-param-type-file/m-p/182008#M6109</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is a link to the generated JSON file presented to users as an HTML anchor, similar to how download links are displayed in the JSAPI's Print Widget?&amp;nbsp; If so you could add the download attribute to the anchor tag:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.w3schools.com/tags/att_a_download.asp" title="https://www.w3schools.com/tags/att_a_download.asp"&gt;HTML a download Attribute&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Oct 2017 20:42:35 GMT</pubDate>
    <dc:creator>JamesMacKay3</dc:creator>
    <dc:date>2017-10-20T20:42:35Z</dc:date>
    <item>
      <title>Geoprocessing Service output param type: File</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/geoprocessing-service-output-param-type-file/m-p/182006#M6107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a GP service with an output parameter as type File -- a simple text file with a .json file extension on the end.&amp;nbsp; In some Internet browsers (mostly Internet Explorer) it does not invoke the "Download this file?" option to the user and simply opens a new tab and displays the content of the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this an IIS/server config, something with the GP service itself or perhaps even at the client I can implement to alleviate this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any ideas, I'm out of them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2017 21:15:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/geoprocessing-service-output-param-type-file/m-p/182006#M6107</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2017-10-18T21:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Geoprocessing Service output param type: File</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/geoprocessing-service-output-param-type-file/m-p/182007#M6108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This issue is likely due to missing file associations on the client.&amp;nbsp; Only resolution I could arrive at is to simply return a .zip file in the response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2017 20:27:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/geoprocessing-service-output-param-type-file/m-p/182007#M6108</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2017-10-20T20:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Geoprocessing Service output param type: File</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/geoprocessing-service-output-param-type-file/m-p/182008#M6109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is a link to the generated JSON file presented to users as an HTML anchor, similar to how download links are displayed in the JSAPI's Print Widget?&amp;nbsp; If so you could add the download attribute to the anchor tag:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.w3schools.com/tags/att_a_download.asp" title="https://www.w3schools.com/tags/att_a_download.asp"&gt;HTML a download Attribute&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2017 20:42:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/geoprocessing-service-output-param-type-file/m-p/182008#M6109</guid>
      <dc:creator>JamesMacKay3</dc:creator>
      <dc:date>2017-10-20T20:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Geoprocessing Service output param type: File</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/geoprocessing-service-output-param-type-file/m-p/182009#M6110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, I just want to allow user to "SaveAs" in IE or download into downloads directory (Chrome).&amp;nbsp; However, I don't believe&amp;nbsp;download attribute is&amp;nbsp;supported in IE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/46817974/download-file-from-server-response-with-url-as-json-file"&gt;https://stackoverflow.com/questions/46817974/download-file-from-server-response-with-url-as-json-file&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In any case, it still just opened a new tab and displayed the content of the .json file that was in the response instead of downloading it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2017 20:47:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/geoprocessing-service-output-param-type-file/m-p/182009#M6110</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2017-10-20T20:47:55Z</dc:date>
    </item>
  </channel>
</rss>

