Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

309
Views
File upload error with Nginx, Node JS (multer)

When uploading a file using node JS and expanding Multer returns error:

code: "EACCES"
errno: -13
path: "directory/filename.txt"
storageErrors: []
syscall: "open"

Storage:

const storage = multer.diskStorage({
    destination: function(req, file, cb) {
        cb(null, './files/')
    },
    filename: function(req, file, cb) {
        cb(null, Date.now() + "_" + file.originalname.split(" ").join(""))
    }
});

I think this is due to the fact that there is no user access to the directory on the server, but I can't find a solution to solve it.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!