Questions related to streaming multer storage engine for AWS S3.
Questions tagged [multer-s3]
210 questions
1
vote
1 answer
How do I transform an image using multer-s3?
I am trying to resize an image prior to uploading it to Amazon S3. I have found documentation on how to achieve this, but I suspect that my implementation is incorrect. I am including the code below. What am I doing wrong?
const multerFilter = (req,…

Chris Clark
- 488
- 2
- 19
1
vote
2 answers
Express Multer validate request before uploading file
I am currently using multer-s3 (https://www.npmjs.com/package/multer-s3) to upload a single csv file to S3, i have it working this way:
var multer = require('multer');
var multerS3 = require('multer-s3');
var AWS =…

PepperoniPizza
- 8,842
- 9
- 58
- 100
1
vote
2 answers
How to link S3 URL to MongoDB in Node.js?
I have an empty mind on how to link a specific movie URL to mongoose model. I'm using multer-s3 and multer for form/multi-part body to upload a specific file, and I literally have no idea how to get the URL from multer to put it into the…

keinsell
- 426
- 5
- 16
1
vote
0 answers
CRC32 check during File Upload to S3 bucket using multer
Got to do a crc32 checksum for a uploaded file before saving to s3 disk.
I am using multer and multer-s3 to upload a file to s3 which was easy to achive.
Here In middle trying to do a crc32 check during file upload. Which was partially completed The…

Purushoth.Kesav
- 615
- 7
- 16
1
vote
1 answer
Nodejs API, Docker (Swarm), scalability and storage
I programmed an API with nodejs and express like million others out there and it will go live in a few weeks. The API currently runs on a single docker host with one volume for persistent data containing images uploaded by users.
I'm now thinking…

Dani
- 13
- 3
1
vote
0 answers
Multer S3 passing back form data and other data in one call
Everything I've looked at regarding s3 and multer s3 looks something like this
const upload = multer({
storage: multerS3({
s3: s3,
bucket: 'bucket',
acl: 'public-read',
cacheControl: 'max-age=31536000',
contentType:…

Aaron Angle
- 121
- 2
- 6
1
vote
0 answers
How to Upload image wih destination Path as file.filename to Amazon s3, with Multer and expressjs
I am uploading images to Amazon S3 with Multers3 and express.
The Image is uploading but I am facing challenges uploading images to the Right Path.
For example, before integrating Multer with s3, with this code, the image will be uploaded to…

Chukwuma Kingsley
- 497
- 8
- 20
1
vote
0 answers
Why is my very large file upload "Stalled" in Chrome?
I have built a Node/Express server behind Nginx & a javascript webapp to upload files. The webapp uses multer for uploads. I have adjusted Nginx to accept up to 10GB files.
When I attempt to send a 4GB file, Chrome craps itself with a "stalled"…

lazaruslarue
- 318
- 2
- 14
1
vote
2 answers
How to send multiple files to AWS S3 using Multer-S3 from different fields
I'm currently using Postman in which I require to upload two files from two different fields to AWS-S3; this is how it looks like:
This is the API route that I'm calling:
router.route('/').post(uploadThumbnail, uploadVideo, createVideo);
That…

Kirasiris
- 523
- 10
- 37
1
vote
3 answers
Fetch /POST request to Server: Empty array when receiving multipart/form-data;
Im trying to upload an image (ReactJs) to my server (NodeJs+ Express+ multerJs) to digital Ocean.
Im using a POST Request with multipart/form-data;
I get a succesfull message from multerJs but I can see in the log on the server that the files: []…

romain1304
- 98
- 3
- 11
1
vote
0 answers
Multer-s3-transform error if uploading non image file
I want to transform image file to a much smaller size before uploading to an s3 bucket and I've decided to use multer-s3-transform. My problem is I should be able to upload non-image file as well like pdf, docs, etc... but I keep on getting an…

virtualninja
- 192
- 3
- 16
1
vote
0 answers
How to pass/pipe MulterS3 file stream to another function before upload
I'm running a small Node.js express application that is using multer-s3-transform and sharp packages along with simple-thumbnail package to upload images and videos to to my S3 bucket. My code works perfectly for images, the image is passed, sharp…

Chrisl446
- 303
- 2
- 11
1
vote
2 answers
Do i have convert local phone image url into base64 before sending to server to upload to S3 using multer?
Here is the url i am getting from the local phone storage
"file:///storage/emulated/0/Pictures/1548694153266.jpg"
Should i really have to convert this to base64 to upload to s3.
If so is there any good library out there to convert the local url…

bee321
- 39
- 4
1
vote
0 answers
Upload file to S3 with Node.js
I'm trying to upload a file to S3 using multer-s3, but got AccessDenied Error. Here I configure aws service:
const s3 = new aws.S3({
secretAccessKey: process.env.AWS_ACCESS_KEY,
accessKeyId: process.env.AWS_KEY_ID,
region:…

loonskai
- 90
- 1
- 2
- 15
1
vote
1 answer
Icecast Updating title metadata
I've been playing with Icecast with Ezstream for a while and found this error while uploading a song.
I've been using multer-s3 to upload songs into s3 and read them from a mounted port on a server. The problem comes when last song that was…

Renato Francia
- 803
- 1
- 12
- 23