gbox-sdk
    Preparing search index...
    interface WriteFileByBinary {
        content: Uploadable;
        path: string;
        workingDir?: string;
    }
    Index

    Properties

    content: Uploadable

    Binary content of the file (Max file size: 512MB)

    path: string

    Target path in the box. If the path does not start with '/', the file will be written relative to the working directory. Creates necessary directories in the path if they don't exist. If the target path already exists, the write will fail.

    workingDir?: string

    Working directory. If not provided, the file will be read from the box.config.workingDir directory.