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

x/appwrite/mod.ts>Storage#createFile

[READ-ONLY] Official Appwrite Deno SDK 🦕
Go to Latest
method Storage.prototype.createFile
Re-export
import { Storage } from "https://deno.land/x/appwrite@2.0.2/mod.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[]