tridion-sites-extensions-api-docs

Home > @tridion-sites/open-api-client > BinariesService > downloadFile

BinariesService.downloadFile() method

Downloads the temporary file for a binary file that was previously uploaded.

Signature:

static downloadFile({ tempFileId, filename, }: {
        tempFileId: string;
        filename: string;
    }): CancelablePromise<any>;

Parameters

Parameter Type Description
{ tempFileId, filename, } { tempFileId: string; filename: string; }  

Returns:

CancelablePromise<any>

any The request was successful.

Exceptions

ApiError