
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
- Need help on Flutter OAuth2
Am trying to use Appwrite OAuth (google, apple and facebook), am been on it for sometimes now which have tried many things but still not able to make it work: ...
- android kotlin error updatePhone
package vasu.apps.schooldashboard.Services import android.util.Log import io.appwrite.Client import io.appwrite.ID import io.appwrite.exceptions.AppwriteExcept...
- Google OAuth2 screen loop issue in Flut...
i am trying to authenticate user on my app using google, everything works fine, but even after succesfull authentication instead of redirecting back to the app,...
