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

Handling Filestream? #122

Closed
kethan opened this issue Sep 20, 2018 · 6 comments
Closed

Handling Filestream? #122

kethan opened this issue Sep 20, 2018 · 6 comments
Labels

Comments

@kethan
Copy link

kethan commented Sep 20, 2018

How do I handle file uploads and filestream?
How do I use cote with multer (https://www.npmjs.com/package/multer)?

@dashersw
Copy link
Owner

Currently cote doesn't support file streams. See #59 for this. It's supported by the underlying engine axon, and therefore could be implemented, so help is needed on that one.

@rafaismyname
Copy link

@kethan you could implement the file upload directly to s3 (or any other storage provider that you have) and use the uploaded file reference within your cote service. imo this is even better bc your server will not have to handle the file upload processing!

@kethan
Copy link
Author

kethan commented Sep 22, 2018

Currently cote doesn't support file streams. See #59 for this. It's supported by the underlying engine axon, and therefore could be implemented, so help is needed on that one.

Oh, that's nice to hear.

@kethan
Copy link
Author

kethan commented Sep 22, 2018

@kethan you could implement the file upload directly to s3 (or any other storage provider that you have) and use the uploaded file reference within your cote service. imo this is even better bc your server will not have to handle the file upload processing!

Good suggestion. But, What if I have to convert the file or encrypt stream by stream?

@dashersw
Copy link
Owner

Good suggestion. But, What if I have to convert the file or encrypt stream by stream?

Currently you can't. Closing this in favor of #59 .

@rafaismyname
Copy link

@kethan you could implement the file upload directly to s3 (or any other storage provider that you have) and use the uploaded file reference within your cote service. imo this is even better bc your server will not have to handle the file upload processing!

Good suggestion. But, What if I have to convert the file or encrypt stream by stream?

You could still use AWS Lambdas for that easily (also, S3 already has built-in encryption system)! IMO it would even be the "correct" and "scalable" way to do such thing 😄

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

3 participants