| FRAMES | NO FRAMES | Description | Parameters | Examples | Response |
| URL | http://<imageservice-url>/file |
|---|---|
| Parent Resource | Image Service |
The raster file resource represents a single raw raster file.
The id required to request the file can be obtained by
using the Download Rasters operation.
This resource streams the file contents to the client.

| Parameter | Details |
|---|---|
| id |
Description: The ID of the raster file.
This ID is obtained by using the Download Rasters operation.
Example: Suppose the Download Rasters operation returned the following response:
{
"rasterFiles": [
{
"id": "t1923.png",
"rasterIds": [54],
"size": 65417
},
{
"id": "t1923.pgw",
"rasterIds": [54],
"size": 765368
},
{
"id": "t1923.png.aux.xml",
"rasterIds": [54],
"size": 853
}
]
}
You can download the 2nd file from above by specifying its id as the query parameter for this resource:
id=t1923.pgw
|
Example 1: Access raster file resource for id: http://servername/1n2w13w.jpg
http://servername/ArcGIS/rest/services/ImageServiceName/ImageServer/file?id=http://servername/1n2w13w.jpg