@nextcloud/upload
    Preparing search index...

    Function upload

    • Upload a file This will init an Uploader instance if none exists. You will be able to retrieve it with getUploader

      Parameters

      • destinationPath: string

        the destination path

      • file: File

        the file to upload

      Returns Uploader

      the uploader instance