Skip to main content

Upload file to bucket

Put a file from the run's folder into a storage bucket, at a path such as invoices/2026/acme.pdf.

Command in the Data store toolkit · id ooa.data/upload_file · 4 inputs (2 required), 2 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
FileFileYesThe file to upload.
BucketStringYesThe bucket's name.
PathStringNoIts path in the bucket (empty: the file's name).
OverwriteBooleanNotrueReplace a file already at that path.

Outputs​

OutputTypeWhat it is
pathStringIts path in the bucket.
bytesNumberIts size.