Questions related to streaming multer storage engine for AWS S3.
Questions tagged [multer-s3]
210 questions
0
votes
1 answer
Node.js uploading image with multer to both MongoDb and Amazon s3
I have been trying to use a MVC structure in Node.js to build a post route which both uploads to Mongodb as well as Amazon S3.
I have built below to help me upload to S3.
const aws = require("aws-sdk");
const multer = require("multer");
const…

Oscar Ekstrand
- 581
- 1
- 4
- 13
0
votes
0 answers
What is anyway method to unzip dir before sending files to s3 using multer-s3 (multer-s3-transform)
I have an application that sends zip files to aws S3, but I need to unzip that directory first, and then send all the files and send them to my bucket.
I've been trying for a few hours and I have no success, here is my code:
import multer from…
0
votes
0 answers
Upload Image to S3 Bucket and send corresponding url to MongoDB
I can upload images to my s3 bucket, but have been unable to pass the corresponding file url to my MongoDB database. The best I have been able to do is update my image field with a predefined string name. Specifically, I want to change 'TestURL.png'…

jasontulloch
- 31
- 1
- 6
0
votes
1 answer
Cloning a Node File Object to use multiple streams in parallel (Multer)
Is it possible to clone a Node.JS File object?
I've written a custom storage driver for Multer which takes an array of storage drivers in it's constructor and calls ._handleFile of each driver. The goal is to save one file to multiple destinations…

Matt Brandt
- 581
- 1
- 4
- 20
0
votes
1 answer
Multiple image upload in ionic 5 angular (Capacitor Camera) and nodejs multer
I'm trying to upload multiple images in ionic angular app not able to send the correct payload to the API.sending data from postman working well. Back-end using nodejs multer package for handling the image upload.
How to send correct payload from UI…

Arun M
- 133
- 1
- 11
0
votes
1 answer
NodeJS Multer-S3 can upload to S3 without using credentials?
I'm a little bit lost as to what's going on, I've been trying to solve this for a few days now. I'm trying to only allow my IAM user to upload an image with public access to read. However, I can comment out the IAM user credentials from AWS-SDK and…

Ivan Yu
- 1
- 1
0
votes
1 answer
Multer req.file is undefined - using with Node/Express for image upload to s3
I know this question has been asked a lot, I've tried pretty much every answer to try to get this running but I keep getting undefined for req.file.
Code below:
services.imageUpload.js
const aws = require("aws-sdk");
const multer =…

BanwoIdowu
- 3
- 2
0
votes
0 answers
Getting error for AWS accesskeyid from my AWS Educate Account
I have an AWS educate account & want to use s3 bucket for storing images using multer. For the same, I got aws_access_key_id & aws_secret_access_key from vocareum workbench. But when I am using these id & secret key, I am getting an error of
"The…

Alak
- 112
- 2
- 12
0
votes
1 answer
Uploading images to s3 using node.js
This is my first time ever using multer or s3, I followed along with a blog and I seem to be running into some issues. In my routes.js when I return res.json({'imageUrl': req.file.location}) I get this error: Cannot read property 'location' of…

j roc
- 156
- 3
- 5
- 23
0
votes
0 answers
How to delete image on Aws s3 with Node and Express
I am working on Nodejs and Expressjs applications. I want to delete an image on Aws-s3 image which I uploaded with multer-s3.
I have tried so many examples that I saw online but none of them worked.
I tried this example but it didn't work:
…

Chukwuma Kingsley
- 497
- 8
- 20
0
votes
1 answer
How can I get multerS3 to upload an array of files to my bucket?
Trying to get multer to upload multiple files to Amazon S3. I have been able to achieve this with single file uploads, but for multiple files, I've been running into trouble. There does not seem to be any problem getting the collection of files from…

Chris Clark
- 488
- 2
- 19
0
votes
0 answers
ERROR IN NODE Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1
I'm using multer for image upload while uploading an image it's showing the error. I searched so much but can't able to find solution. Please suggest me some blog or documentation so that I can follow them to know about this stuff
var aws =…

Abhay Jain
- 13
- 4
0
votes
1 answer
Uploading image in backend using "content-type":"multipart/formdata"
On postman,everything works fine,i get desired image URL there from Amazon S3,but when I try the same through front end I get error "Error: Multipart: Boundary not found".
Then if I add some boundary it gives error TypeError: Cannot read property…

Keshav
- 11
- 2
0
votes
2 answers
How to resize upload images with express server
I am using multer and multer-s3 to upload an image to s3 bucket.
I want to keep the original image as it is, but need additional thumbnail image.
Then upload both of them to s3.
I found that image resize can be done using sharp but not sure how to…

Janaka
- 2,505
- 4
- 33
- 57
0
votes
1 answer
ECONNRESET Error while uploading more than 10 files using multer in node js
I need to add 100 files at a time using multer multiple file upload. For now 10 file's can be upload easly , but if I try to add more than 10 files it will throw an error like below,
Error: read ECONNRESET
at TLSWrap.onStreamRead…

aash
- 1
- 4