Select to view content in your preferred language

Uploading .rar file not supported in Geoprocessing Service?

705
1
05-13-2025 07:14 PM
EvelynHsu
Regular Contributor

Using ArcGIS Enterprise 11.1 on a Linux environment 

We authored a Python script tool to process a compressed file, published it to Enterprise as a web tool with upload operation enabled.

The tool parameter was set explicitly to allow .rar/.zip file type extension. It worked well on both formats in ArcGIS Pro. However, when running the tool from REST endpoint, only .zip format could be uploaded. Uploading .rar file gives the "Error performing upload operation, File size or type not supported for this service" error. 

Has anyone encountered this before?

 

0 Kudos
1 Reply
GlenterpriseUK
Esri Contributor

Hi @EvelynHsu,

Are you able to check what is under the allowedUploadFileTypes parameter on the Tool in ArcGIS Server when viewing the configuration properties from ArcGIS Server Administrative Directory?

Example URL:

https://<server>:6443/arcgis/admin/services/<folder>/<tool>.GPServer

I would assume you won’t see .rar there but it might be that you see .zip because .zip is a standard compression format that Enterprise allows (Zipped Shapefile, Zipped File Geodatabase)

Regards,

Glen

0 Kudos