Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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@0.0.2/mod.ts";

Get File for Download

Get 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

fileId: string

fileId

Returns

Promise<string>

Promise