<?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 How to access ArcGIS Server Directories from REST SOE in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-access-arcgis-server-directories-from-rest/m-p/66691#M2531</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a REST SOE developed on .NET for ArcGIS for Server 10.3.1. Now, from SOE, I want to write couple of files to ArcGIS Server server directories (a custom server directory OR arcgisoutput OR arcgisjob ). How to access these directories?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside&amp;nbsp; interfaces ESRI.Arcgis.Server.IServerObjectManager and ESRI.Arcgis.Server.IServerEnvironmentExt there is a method GetServerDirectoryInfos() which returns the info that I need but I could not yet figure out how to use these interfaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: I can get the server directories path by digging into the registry for AGS installation drive and then by appending "/arcgisserver/directories/...". But, it would be neat if I can get IServerDirectoryInfo which gives the directory url as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Girish &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jul 2016 21:27:09 GMT</pubDate>
    <dc:creator>GirishYadav</dc:creator>
    <dc:date>2016-07-26T21:27:09Z</dc:date>
    <item>
      <title>How to access ArcGIS Server Directories from REST SOE</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-access-arcgis-server-directories-from-rest/m-p/66691#M2531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a REST SOE developed on .NET for ArcGIS for Server 10.3.1. Now, from SOE, I want to write couple of files to ArcGIS Server server directories (a custom server directory OR arcgisoutput OR arcgisjob ). How to access these directories?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside&amp;nbsp; interfaces ESRI.Arcgis.Server.IServerObjectManager and ESRI.Arcgis.Server.IServerEnvironmentExt there is a method GetServerDirectoryInfos() which returns the info that I need but I could not yet figure out how to use these interfaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: I can get the server directories path by digging into the registry for AGS installation drive and then by appending "/arcgisserver/directories/...". But, it would be neat if I can get IServerDirectoryInfo which gives the directory url as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Girish &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2016 21:27:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-access-arcgis-server-directories-from-rest/m-p/66691#M2531</guid>
      <dc:creator>GirishYadav</dc:creator>
      <dc:date>2016-07-26T21:27:09Z</dc:date>
    </item>
  </channel>
</rss>

