<?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: Data Extract Widget creates incorrect URL for output.zip download. in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/data-extract-widget-creates-incorrect-url-for/m-p/593371#M17002</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI all,&lt;/P&gt;&lt;P&gt;I was a bit off-track with my previous question-the URL is correct.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem seems to be coming down to the creation/saving of the zip file.&amp;nbsp; I can see in the arcgis jobs folder on the Server that the data is correctly extracted.&amp;nbsp; If I add a dummy output.zip file, then the URL created by the URL does work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;A href="https://maps.globalskm.com/arcgis/rest/directories/arcgisjobs/lor/extractlpdata_gpserver/je9dfabf8353c4a1382bff5c3a3ab4eb9/scratch/output.zip" title="https://maps.globalskm.com/arcgis/rest/directories/arcgisjobs/lor/extractlpdata_gpserver/je9dfabf8353c4a1382bff5c3a3ab4eb9/scratch/output.zip"&gt;https://maps.globalskm.com/arcgis/rest/directories/arcgisjobs/lor/extractlpdata_gpserver/je9dfabf8353c4a1382bff5c3a3ab4eb9/scratch/output.zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my problem is that the &lt;STRONG&gt;zip file is not being created and saved&lt;/STRONG&gt;, even though the messages that came through with the job say that it was successful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Sep 2014 00:52:44 GMT</pubDate>
    <dc:creator>JanetRogers</dc:creator>
    <dc:date>2014-09-18T00:52:44Z</dc:date>
    <item>
      <title>Data Extract Widget creates incorrect URL for output.zip download.</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/data-extract-widget-creates-incorrect-url-for/m-p/593370#M17001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Plenty of questions have been asked about problems in downloading the output.zip file&amp;nbsp; but I couldn't find any solutions particular to my problem. I would be happy for someone to point it out to me if I had missed it.&amp;nbsp; Anyway, if not:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Flex Data Extract widget (out of the box) is working correctly up to the very end point when it requests somewhere to save the output.zip file.&amp;nbsp; The output files to be zipped are being saved in the Arcgisjobs folder on the server:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...\arcgisserver\directories\arcgisjobs\lor\extractlpdata_gpserver\j638d8ad3a19a4d9e95a83752887dbcf0\scratch\scratch.gdb\output.zip\zipfolder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the output Save task is being called, it would appear from reading the passed data in Fiddler that the server is trying to work from here and I get an Invalid URL error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Tahoma, sans-serif; font-size: 13.63636302947998px;"&gt;GET &lt;/SPAN&gt;&lt;A href="https://mail.globalskm.com/owa/redir.aspx?C=0ktxDPGn20i7AbiyyPXyFKCSTP0eoNEIETSIGMi629hpYYYPRbzLjubG5VI-QvBLOqL3uC0JJcA.&amp;amp;URL=http%3a%2f%2fmaps.globalskm.com%2farcgis%2frest%2fdirectories%2farcgisjobs%2flor%2fextractlpdata_gpserver%2fj893543f999be4f3eafc55dccc58aa82e%2fscratch%2foutput.zip" style="color: purple; text-decoration: underline; font-family: Tahoma, sans-serif; font-size: 13.63636302947998px;" target="_blank"&gt;http://maps.xxx.com/arcgis/rest/directories/arcgisjobs/lor/extractlpdata_gpserver/j638d8ad3a19a4d9e95a83752887dbcf0/scratch/output.zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So somewhere along the line it is adding "rest" to the URL, and I am not sure where the "arcgis/rest" substitutes for "arcgisserver".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ArcGIS server set up is not my area of expertise, so please bear with me if there is some information missing.&amp;nbsp; The only other thing I can think of is whether these setting are correct in the ArcGIS server Manager --&amp;gt;Site -&amp;gt; Directories &lt;/P&gt;&lt;P&gt;Jobs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; H:\arcgisserver\directories\arcgisjobs&lt;/P&gt;&lt;P&gt;Output&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; H:\arcgisserver\directories\arcgisoutput &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate any ideas that may help me solve this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Janet Rogers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 08:08:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/data-extract-widget-creates-incorrect-url-for/m-p/593370#M17001</guid>
      <dc:creator>JanetRogers</dc:creator>
      <dc:date>2014-09-15T08:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Data Extract Widget creates incorrect URL for output.zip download.</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/data-extract-widget-creates-incorrect-url-for/m-p/593371#M17002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI all,&lt;/P&gt;&lt;P&gt;I was a bit off-track with my previous question-the URL is correct.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem seems to be coming down to the creation/saving of the zip file.&amp;nbsp; I can see in the arcgis jobs folder on the Server that the data is correctly extracted.&amp;nbsp; If I add a dummy output.zip file, then the URL created by the URL does work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;A href="https://maps.globalskm.com/arcgis/rest/directories/arcgisjobs/lor/extractlpdata_gpserver/je9dfabf8353c4a1382bff5c3a3ab4eb9/scratch/output.zip" title="https://maps.globalskm.com/arcgis/rest/directories/arcgisjobs/lor/extractlpdata_gpserver/je9dfabf8353c4a1382bff5c3a3ab4eb9/scratch/output.zip"&gt;https://maps.globalskm.com/arcgis/rest/directories/arcgisjobs/lor/extractlpdata_gpserver/je9dfabf8353c4a1382bff5c3a3ab4eb9/scratch/output.zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my problem is that the &lt;STRONG&gt;zip file is not being created and saved&lt;/STRONG&gt;, even though the messages that came through with the job say that it was successful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 00:52:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/data-extract-widget-creates-incorrect-url-for/m-p/593371#M17002</guid>
      <dc:creator>JanetRogers</dc:creator>
      <dc:date>2014-09-18T00:52:44Z</dc:date>
    </item>
  </channel>
</rss>

