Upload a local file straight to a Cloud Phone (legacy multipart flow).
- Preconditions: the phone must be powered on and not held by another member. The upload code obtained from the signed-URL step is single-use.
- Completion: the response only confirms the Local API accepted the transfer. No task id and no polling state are exposed, so progress cannot be observed.
- Use instead:
/api/cloudphone/upload/file/signedUrl→PUT→/api/cloudphone/upload/file→/api/cloudphone/upload/file/resultwhen you need observable progress and retry handling. - Note: this path is not the same operation as
/cloudphone/uploadFileon the Open API, which registers an already-uploaded object.
Documented business errors: 33401, 33419. See Error Codes for what each code means. Any operation can additionally return the common codes.
- MoreLogin Local endpointhttp://127.0.0.1:40000/api/cloudphone/uploadFile
curl -i -X POST \
http://127.0.0.1:40000/api/cloudphone/uploadFile \
-H 'Content-Type: multipart/form-data' \
-F id=1661515884160372 \
-F file=@file.bin \
-F uploadDest=/DownloadResponse
{}