0
1
KKKhalid Khan
This code prints the results of a file download operation that was started in the context of the GlobalScope object. The first parameter is the bucket ID, and the second is the file ID in Appwrite.
Shortcut: appwrite.storage.getfiledownload
GlobalScope.launch {
val result = storage.getFileDownload(
bucketId = "BUCKET_ID",
fileId = "FILE_ID"
)