Optionallifecycle?: StorageSettingsCustom lifecycle configuration for the uploaded file. This object will be sent as the X-Fal-Object-Lifecycle header.
Optionalmultipart?: MultipartOptionsTuning for the multipart path. Ignored for files under MULTIPART_THRESHOLD.
OptionalonCalled as the upload progresses. Single-shot uploads report once, on completion; multipart uploads report once per part. Anything thrown here is ignored so a listener cannot fail the upload.
Options for uploading a file.