file-upload-with-angularjs-and-nodejs icon indicating copy to clipboard operation
file-upload-with-angularjs-and-nodejs copied to clipboard

Reference for Multifile upload

Open SJ18 opened this issue 8 years ago • 3 comments

Hi Rahil,

Thanks for sharing nice article of file upload. I have a requirement where User wants to upload Trade file, He has to detached sign it locally with a valid CA certificate and then upload both Trade file and respective signed file simultaneously. This is required for data integrity of the end-user. E.g. Trade file name : Trade1.txt User signs file locally and creates Trade1_Signature.txt (detached signature of Trade1.txt) Now while uploading, User has to select and upload both the files simultaneously.

Can you please share reference or any tips for handling the same in angular with nodejs.

Thanks & Regards, SJ

SJ18 avatar Sep 24 '16 10:09 SJ18

Checkout the fields option for multer. Using that you can upload files in different fields in the same request.

https://github.com/expressjs/multer

rahil471 avatar Sep 26 '16 06:09 rahil471

@rahil471 so only by doing some minor changes in html and nodejs part to upgrade it to multi-file upload, it should work??

mohitKhanna1411 avatar Oct 05 '17 03:10 mohitKhanna1411

"LIMIT_UNEXPECTED_FILE" this is the error i get in the response. Please help

mohitKhanna1411 avatar Oct 05 '17 03:10 mohitKhanna1411