Register Directory

Description

Registers a new server directory. While registering the server directory, you can also specify the directory's cleanup parameters.

NoteNote:

You can also register a directory by using its JSON representation as a value of the directory parameter.

Request Parameters

Parameter

Details

name

Description: The name of the server directory.

physicalPath

Description: The absolute physical path of the server directory.

diretoryType

Description: The type of server directory.

cleanupMode

Description: Defines if files in the server directory needs to be cleaned up.

Default: NONE

maxFileAge

Description: Defines how long a file in the directory needs to be kept before it is deleted.

description

Description: An optional description for the server directory.

f

Description: The response format. The default response format is html.

Values: html | json

Example Usage

http://server:port/arcgis/admin/system/directories/register
	name=arcgisoutput
	physicalPath=\\server\arcgisserver\arcgisoutput
	directoryType=OUTPUT
	description=an output directory
	cleanupMode=TIME_ELAPSED_SINCE_LAST_MODIFIED
	maxFileAge=360

7/27/2017