<?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 ArcServer GP Task can only write to local drive in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/arcserver-gp-task-can-only-write-to-local-drive/m-p/862575#M4243</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This GP Task is being invoked by the "submitJob" url in the ArcGIS REST API, and parameters are passed in via a query string. It's output is a sql file that writes to the output path provided as input. Whenever that path is on the C:// drive of the server it succeeds but whenever I point it to another drive it fails with the error:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;EM&gt;IOError: [Errno 2] No such file or directory:&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I have the connections set up in File Explorer/ArcCatalog and the script succeeds when run as a Script Tool from ArcCatalog, but it seems when being run as a GP task and invoked with a url it no longer recognizes the drive connections. I've tried with both a UNC and [LETTER]: for the drive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using ArcServer 10.1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Dec 2017 22:50:19 GMT</pubDate>
    <dc:creator>DevonCanady</dc:creator>
    <dc:date>2017-12-28T22:50:19Z</dc:date>
    <item>
      <title>ArcServer GP Task can only write to local drive</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/arcserver-gp-task-can-only-write-to-local-drive/m-p/862575#M4243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This GP Task is being invoked by the "submitJob" url in the ArcGIS REST API, and parameters are passed in via a query string. It's output is a sql file that writes to the output path provided as input. Whenever that path is on the C:// drive of the server it succeeds but whenever I point it to another drive it fails with the error:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;EM&gt;IOError: [Errno 2] No such file or directory:&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I have the connections set up in File Explorer/ArcCatalog and the script succeeds when run as a Script Tool from ArcCatalog, but it seems when being run as a GP task and invoked with a url it no longer recognizes the drive connections. I've tried with both a UNC and [LETTER]: for the drive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using ArcServer 10.1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 22:50:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/arcserver-gp-task-can-only-write-to-local-drive/m-p/862575#M4243</guid>
      <dc:creator>DevonCanady</dc:creator>
      <dc:date>2017-12-28T22:50:19Z</dc:date>
    </item>
  </channel>
</rss>

