ArcGIS Server / Geoprocessing Question
I have a geoprocessing service that will perform a selection on a layer based on a provided expression. I would like to output the result as a csv file (or other type of file) and have it output to the browser for the user to download. Currently, i can save the output to a scratch directory on the server but I want to return it back to the user. This is similar to the clip/zip/ship process. How do I run a process and return a file back to the client?
Does anybody have a detailed workflow or example to point me to?
HttpServletResponse
with a ContentType and Header which encourages the browser to save it. – Vince Jan 7 '15 at 19:24