Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/appwrite/src/services/storage.ts>Storage#getFileDownload

[READ-ONLY] Official Appwrite Deno SDK 🦕
Go to Latest
method Storage.prototype.getFileDownload
import { Storage } from "https://deno.land/x/appwrite@5.0.1/src/services/storage.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