ONLYOFFICE DocSpace released: improve document collaboration with offices, customers, and partners. Use it for free!
ONLYOFFICE DocSpace released

API Download Link no permission

Hi, what i want to do is download a file using Version
So i get the download URL from the API (api/2.0/files/file/{fileId}/presigneduri)
I receive a link similar to
but when opening this url i receive an error message:
“You don’t have enough permission to perform the operation”

What am i missing?
Thank you

Hello @roger

First of all, note that your are using an outdated version of Community Server. Please consider updating.

Second, make sure that you are logged in to your portal before using the link to download a file.

Hi Constantine,
ok, it meens that i can not download a file through API ?

OK, i found it.
I use curl cookies to login and then wget it.
Thank you very much.

1 Like

I’m glad to hear it.