-
Notifications
You must be signed in to change notification settings - Fork 480
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can I specify bucket custom path for the upload? #574
Comments
You can control the folder on GCS, in which the upload will be saved using |
it is possible to have multiple prefix ? |
No, the prefix must be specific when starting tusd and cannot be changed at runtime. In addition, there can only be one prefix. |
Interesting, thank you. And is there a way to deploy TusD which allows a greater flexibility regarding the prefix or the file naming ? Maybe we have to use another version of TUS ? |
If you want fully customized paths, we recommend to use tusd to upload file in one folder and them move/rename them according to your preferences. This way you have the stability of tusd but the flexibility you want. |
@Acconut would you be interested in a PR that parameterizes |
We are always interested in PRs :) However, it would make sense to first discussion the actual feature proposal and its implementation in a separate issue. |
possibly fix for tus#488 - bumped alpine runtime in dockerfile - get rid of [unmaintained](bmizerany/pat#17) routing library bmizerany/pat - fixed CORS request test (status must be just 404, not 405, consequences of bmizerany/pat)
Parameterizing the object key for s3store might be possible in the future using #962, although this is not implemented yet. |
This will be implemented in v3 (release date unknown yet) with #1167. |
Question
Hello there,
I want to upload an objet to GCS bucket with a specified path, with tusd server connected to my bucket with the command
tusd -gcs-bucket=my_bucket
.When I upload an objet, this objet name is a generate value on the bucket.
So I want to get something like
My_bucket/custom_path/filename
orMy_bucket/custom_path/generate_id
for the upload filenameHow can I specify the name of the upload?
The text was updated successfully, but these errors were encountered: