Optional ReadonlyconcurrencyMaximum number of parts uploaded in parallel. Defaults to 4.
Optional ReadonlycontentMIME type. Defaults to "b2/x-auto".
Optional ReadonlycustomB2 upload timestamp override in milliseconds since epoch.
Sets the file version uploadTimestamp; distinct from src_last_modified_millis metadata.
Requires B2 account enablement for Custom Upload Timestamp.
Optional ReadonlyfileCustom key-value metadata stored with the file.
Optional ReadonlyonCallback invoked if best-effort cancellation fails, or if cancellation is
skipped because b2_finish_large_file may already have committed.
Optional ReadonlyonCallback invoked with upload progress events.
Optional ReadonlyonCallback invoked before a fresh-URL upload retry.
Optional ReadonlypartTarget part size in bytes. Defaults to the account's recommended part size.
Optional ReadonlyprogressMinimum milliseconds between byte-only progress callbacks. Defaults to the SDK's 100 ms progress interval; set to 0 for per-chunk callbacks. Part-completion progress callbacks are always emitted immediately.
Optional ReadonlyretryRetry settings shared with the main transport retry configuration.
Optional ReadonlyretryWhether unreadable upload response bodies should trigger a retry. Connection failures retry by default with a fresh URL for single-file and part uploads. Defaults to false. Set true only when replaying an ambiguous response is acceptable.
Optional ReadonlyretryWhether single-file upload POST connection faults retry. Defaults to true,
or the client default; a per-call value overrides the client setting.
Includes network errors, wrapped TypeError/DOMException failures, and
timeouts before response headers arrive.
A replay can create duplicate versions retained by Object Lock. Set false
to surface these faults while retaining server/auth/URL retries and backoff.
Upload-URL acquisition failures retain their existing retry policy.
Multipart parts and write streams ignore this setting and retain their retry policy.
Independent of retryResponseBodyFailures: success-body read failures,
including body-read timeouts, follow that option and can still replay when true.
Optional ReadonlyserverServer-side encryption applied to each part.
Optional ReadonlysignalAbort signal that cancels the upload and the unfinished large file.
Options accepted by B2Object.createWriteStream.