Uploading an MXD using ArcGIS for Server's upload REST end point

1223
0
05-09-2016 02:51 AM
SalieghAziz
New Contributor II


I am trying to upload an mxd document through ArcGIS for Server's upload REST end point (http://SERVERNAME/arcgis/admin/uploads/upload), and the response is that Items with that extension is not supported.

I did some reading, and came across the system properties that allows you to override the default file extension white list. After using the end point to update the property/properties (http://SERVERNAME/arcgis/admin/system/properties/update) with the following json

{

  "uploadFileExtensionWhitelist": "soe,sd,prj,sde,odc,csv,txt,zshp,kmz,mxd",

  "uploadItemInfoFileExtensionWhitelist": "xml,img,png,gif,jpg,jpeg,bmp,mxd,prj,soe"

}

I attempted the same with a prj file, which failed as well.


What is strange is that I can upload a zip file with no issues, even though it does not appear in the white list


I restarted the server, with no success. Any idea what is going wrong with AGS?

Tags (1)
0 Kudos
0 Replies