Answer the question
In order to leave comments, you need to log in
How to redirect a file on upload in Node.js?
Here is my code for uploading a file to a server. It will upload the client file in uploads.
app.use(BodyParser({
formLimit: '10mb',
formidable: {
uploadDir: __dirname + '/uploads',
keepExtensions: true
},
multipart: true,
urlencoded: true
}));
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question