Demystifying iControl REST Part 5: Transferring Files
Updated Aug 04, 2023
Version 5.0Was this article helpful?
Hi,
If I want to upload/download I guess the only way to do that is with an admin account I tried with a resource-admin account and no matter what I do I always get:
UPLOADING DG FILE......
{
"code": 401,
"message": "Authorization failed: user=https://localhost/mgmt/shared/authz/users/rest resource=/mgmt/shared/file-transfer/uploads/mydg.txt verb=POST uri:http://localhost:8100/mgmt/shared/file-transfer/uploads/mydg.txt referrer:x.x.x.x sender:x.x.x.x",
"referer": "x.x.x.x",
"restOperationId": 7036294,
"kind": ":resterrorresponse"
}
The same happens when I try to download a file.
Is there a way we can do it with a user that is not admin?