expressjs / expressjs/multer

Disable automatic upload or upload after data validation

Open
#1,048 3 comments 0 reactions 0 assignees View on GitHub
awaiting more info
Dominant language
JavaScript
Stars
12.1k
Forks
1.1k
Avg merge
8d 2h
Merged PRs (30d)
21

Description

Hello,

I know this is maybe not the best place to post that question but I've already checked and posted a question on stackoverflow, without any answers (same for the people that posted the same question).

What I would like to achieve is basically a data validation before the image get uploaded on the server.

I think it makes no sense to upload the image before doing the data validation as my stockage would be full of useless pictures.

Is it possible with multer? And if so, how would you do that? Thanks a lot!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.