expressjs / expressjs/multer

Multiple uploads from different users and different folders

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

Description

I have an upload API using Multer that works fine so far, but when 2 or more users upload at the same time in their specific folders the files are exchanged in the folders, and sometimes the files go only to one of the folders. I need my API to save the file in the folder the client requested.
Segue abaixo minha linha de código
![image](https://user-images.githubusercontent.com/94143806/172707310-52d92ee6-09c1-4920-90dc-5ce55904b768.png)

Contributor guide

Open the contributing guide

Research direction

The issue provides an attached code image but names no repository file or test. Start by reviewing the upload API's Multer configuration and reproduce simultaneous uploads from different users and folders. Done means each uploaded file consistently reaches the folder requested by its client.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.