Robot Web Services
3HAC050973-001 Revision:L, Application Manual - Robot Web Services
Get file Meta data

Get the meta data of the specified file.

URL

/fileservice/{device|environment_variable|directory}/{file}

Method

HEAD

URL Params

None

Data Params

None

Success Response

NO_CONTENT(204)

Example Response

No content

The meta data is returned as part of the HTTP headers.

The filesize can be found in the Content-Length HTTP header.

Error Response

UNAUTHORIZED(401), NOT_FOUND(404), See Robot controller return codes

Sample Call

Delete a file

curl --digest -u "Default User":robotics -X HEAD "http://localhost/fileservice/$home/test.txt"

Notes

Supported in bootserver mode