Chirag_doosra
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.
TypeScript
bucketId = "660fd3e8a1341d1deb24",
fileId = "669a37030001cf108f01"
)```
What can be solution to this apart from manually building the link?
TL;DR
Developers wants to get the URL of a file from a Storage Bucket in an Android app using Kotlin and Appwrite. There is a method to achieve this other than manually building the link. The URL can be obtained by appending the `result` object's `$this->temporary_url` property to the Appwrite server URL. Ryan
Is the file that you are trying to access public? And is this on Cloud or self-hosted?
Recommended threads
- custom domain with CloudFlare
Hi all, it seems that CloudFlare has blocked cross-domain CNAME link which made my app hostname which is in CloudFlare, unable to create a CNAME pointing to clo...
- My organization's project is blocked
My organization's project is blocked so unblocked my organization then I will this
- Can't Create An Account with Gmail Domai...
Hi, when using account.create() to register a new user with the Gmail domain, I got "There was an error processing your request. Please check the inputs and try...