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

file: File | Blob

| Blob file

read: Array<any>

read

write: Array<any>

write

Returns

Promise<string>

Promise