FRAMES | NO FRAMES | Description | Parameters | Example |
URL: | http://server:port/arcgis/admin/system/directories/<dir>/edit |
---|---|
HTTP Method: | POST |
Parent Resource: | Server Directory |
Required Privileges: | Administrator |
The server directory's edit operation allows you to change the path and clean up properties of the directory.
This operation updates the GIS service configurations (and points them to the new path) that are using this
directory, causing them to restart. It is therefore recommended that any edit to the server directories
be performed when the server is not under load.
This operation is mostly used when growing a single machine site to a multiple machine site configuration,
which requires that the server directories and configuration store be put on a network-accessible file share.
Note:
Parameter | Description |
---|---|
physicalPath | The absolute physical path of the server directory |
cleanupMode | Defines if files in the server directory needs to be cleaned up. The default is NONE. |
maxFileAge | Defines how long a file in the directory needs to be kept before it is deleted |
description | An optional description for the server directory |
f | The response format. The default response format is html. Values: html | json |
http://server:port/arcgis/admin/system/directories/arcgisjobs/edit physicalPath=\\server\arcgisserver\arcgisoutput description=A shared output directory for mult-node server. cleanupMode=TIME_ELAPSED_SINCE_LAST_MODIFIED maxFileAge=360