Skip to content
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

Allow pluggable uploaders in Companion #4390

Open
mifi opened this issue Mar 30, 2023 · 0 comments
Open

Allow pluggable uploaders in Companion #4390

mifi opened this issue Mar 30, 2023 · 0 comments
Labels

Comments

@mifi
Copy link
Contributor

mifi commented Mar 30, 2023

Problem

People might want to handle the uploaded data in different ways. Currently we support s3, s3-multipart, multipart and tus, but some people want to do different things like:

  • upload to one bucket if the file has this name, but to different bucket if a different name
  • Upload all files to multiple buckets How to use multiple S3 buckets #3214
  • check some auth before uploading based on some metadata
  • want to upload the files to s3 and also save to an FTP and write som stuff to an SQL database
  • and so many other requests

Solution

We already allow people to implement custom Providers (people can implement their own download sources like Google Drive, Dropbox etc), so why not also support custom Upload Destinations?

I did some testing and I don't think it's very hard to implement. Just need to make an API that's quite flexible for future enhancements.

Alternatives

Keep on adding features, options and switches to our existing Uploaders.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants