0
8
KKKhalid Khan
The code above fetches a file from the storage backend and saves it to the given bucket for appwrite. If the file does not exist it will be created.
Shortcut: appwrite.getfile
let promise = sdk.storage.getFile('[BUCKET_ID]', '[FILE_ID]');