2

I have a geoprocessing service which creates a PDF in this directory on ArcGIS Server:

C:\arcgisserver\directories\arcgisoutput

I can access the file just fine through file explorer, but I need to provide a URL to a web application. I have tried

 http://server_name/arcgis/rest/directories/arcgisoutput/file_name

but I cannot seem to access the arcgisoutput directory through a URL. How do I get to arcgisoutput through a URL?

asked Jan 16, 2018 at 21:35
1
  • Take a look at the answer I've provided here: gis.stackexchange.com/questions/173916/… (yes the issue was a variable scoped beyond the function, but the code shows the pattern of getting a file from a gp service). In short, I'm saying the gp framework handles returning the file to the client, the client just has to be ready for it. Generally when people are going down the path of trying to access output URLs they're overthinking the process. Commented Jan 17, 2018 at 12:59

1 Answer 1

1

I copied elephant.png into this folder:

C:\arcgisserver\directories\arcgisoutput\SampleWorldCities_MapServer\SampleWorldCities_MapServer

And was then able to see it via this url:

https://hostname:6443/arcgis/rest/directories/arcgisoutput/SampleWorldCities_MapServer/SampleWorldCities_MapServer/elephant.png
answered Jan 16, 2018 at 22:19

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.