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#createFile

[READ-ONLY] Official Appwrite Deno SDK 🦕
Go to Latest
method Storage.prototype.createFile
import { Storage } from "https://deno.land/x/appwrite@2.0.2/src/services/storage.ts";

Create File

Create a new file. The user who creates the file will automatically be assigned to read and write access unless he has passed custom values for read and write arguments.

Parameters

fileId: string
file: File | Blob
optional
read: string[]
optional
write: string[]

Returns

Promise<Models.File>