Robot Web Services
3HAC050973-001 Revision:L, Application Manual - Robot Web Services
|
Upload a file
/fileservice/{device|environment_variable|directory}/{file}
PUT
The file content
HTTP_OK(200), CREATED(201)
No content
UNAUTHORIZED(401), NOT_FOUND(404), FORBIDDEN(403), BAD_REQUEST(400)
See Robot controller return codes
Upload a file
curl --digest -u "Default User":robotics -d -X PUT "http://localhost/fileservice/$home/test.txt"
If the file exists, the file is overwritten with the specified content else a new file with the given name is created.
Supported in bootserver mode
Maximum supported file size is less than 800MB.