@backblaze-labs/b2-sdk - v0.4.0
    Preparing search index...

    Interface DownloadByNameRequest

    Request parameters for downloading a file by bucket name and file name via b2_download_file_by_name.

    interface DownloadByNameRequest {
        b2CacheControl?: string;
        b2ContentDisposition?: string;
        b2ContentEncoding?: string;
        b2ContentLanguage?: string;
        b2ContentType?: string;
        b2Expires?: string;
        bucketName: string;
        fileName: string;
        range?: string;
        serverSideEncryption?: SseCKeyMaterial;
    }
    Index
    b2CacheControl?: string

    Override the Cache-Control header in the download response.

    b2ContentDisposition?: string

    Override the Content-Disposition header in the download response.

    b2ContentEncoding?: string

    Override the Content-Encoding header in the download response.

    b2ContentLanguage?: string

    Override the Content-Language header in the download response.

    b2ContentType?: string

    Override the Content-Type header in the download response.

    b2Expires?: string

    Override the Expires header in the download response.

    bucketName: string

    Name of the bucket containing the file.

    fileName: string

    Full path and name of the file within the bucket.

    range?: string

    Optional byte range to download (e.g., 'bytes=0-999').

    serverSideEncryption?: SseCKeyMaterial

    SSE-C decryption parameters, required if the file was uploaded with SSE-C.