Skip to main content
Module

x/ptereno/lib/models/Client.ts>default#writeFile

An efficient and fully compliant Pterodactyl API wrapper.
Latest
method default.prototype.writeFile
import { default } from "https://deno.land/x/ptereno@v1.0.1/lib/models/Client.ts";

Writes data into a file on a specific server.

If you want to upload a file and have it handled for you, use the uploadFile method.

Parameters

server: string

The server uuid

target: string

The name of the file on the server

data: string | Uint8Array

The upload data