I'm developing an Android app using Kotlin and Appwrite. I want to get the URL of the file so that I can download it. Is there any method to achieve that? The code below return a ByteArray. I want to get the URL of the file.
bucketId = "660fd3e8a1341d1deb24",
fileId = "669a37030001cf108f01"
)```
What can be solution to this apart from manually building the link?
Is the file that you are trying to access public? And is this on Cloud or self-hosted?
Recommended threads
- Appwrite rejecting create and edit reque...
hello, so my issue is that when i make a debug build of my app, everything works as it should, but when i download and test a SIGNED release database rejects al...
- {"code": 1008, "message": "Invalid Origi...
Nothing has changed in my application or console settings so I'm curious as to what I need to do to fix this. I already have the client registered so I'm not en...
- android platform invaild origina
It happened today suddenly. Our app says invalid origin. And appwrite cloud says every time we tried to add the app to it: "param platformId" is not optional.