I would like to upload files of users to S3. I have a web client/NodeJS Express solution.
So far in my research i found that using multipart uploads, i can do either one of these:
1.) If streaming is enabled directly using pipes, then i cannot control the size of the file.
2.) If size needs to be controlled, pipe/streaming has to be disabled and file has to be written to disk or memory buffer to check for file size then transfer it to S3.
Is there any way i can get both of these ?
I am looking at the following middle wares :