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@0.1.1/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

file: File | Blob

| Blob file

read: Array<any>

read

write: Array<any>

write

Returns

Promise<string>

Promise