Robot Web Services
3HAC050973-001 Revision:L, Application Manual - Robot Web Services
|
Rename a file
/fileservice/{device|environment_variable|directory}/{file}
POST
NO_CONTENT(204)
No content
UNAUTHORIZED(401), NOT_FOUND(404), BAD_REQUEST(400), UNSUPPORTED_MEDIA(415)
See Robot controller return codes
Rename a file
curl --digest -u "Default User":robotics -d "fs-newname=newfile.txt&fs-action=rename" -X POST "http://localhost/fileservice/$home/test.txt"
Supported in bootserver mode