tus / tusd

Reference server implementation in Go of tus: the open protocol for resumable file uploads
https://tus.github.io/tusd
MIT License
3.05k stars 475 forks source link

Dynamicly setting S3 Bucket #1029

Closed ADDNW closed 2 weeks ago

ADDNW commented 11 months ago

Question In my use case I need tusd to be able to save to one of few buckets, chosen based on f.e. metadata (s3 bucket name), probably at pre-finish hook. Is there a way to do it? (any version, but at best v2.0+, as I'd like to use this parallel upload to s3)

Acconut commented 11 months ago

No, this is currently not possible. Your only choice right now is to transfer the object to another bucket after the upload is complete.

Acconut commented 2 weeks ago

This will be implemented in v3 (release date unknown yet) with https://github.com/tus/tusd/pull/1167.