Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/appwrite/mod.ts>Storage#getFileDownload

[READ-ONLY] Official Appwrite Deno SDK 🦕
Go to Latest
method Storage.prototype.getFileDownload
Re-export
import { Storage } from "https://deno.land/x/appwrite@6.0.0/mod.ts";

Get File for Download

Get a file content by its unique ID. The endpoint response return with a 'Content-Disposition: attachment' header that tells the browser to start downloading the file to user downloads directory.

Parameters

bucketId: string
fileId: string