Skip to main content
The Deno 2 Release Candidate is 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.2.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