Sails Js File uploads. file uploaded successfully but text params are missing while
问题 I am using sails js. I am trying to upload an array of files and create record for each file in mongodb. In db, I will be storing filename. i am uploading PDF files here. But as the size increases to 1 MB, The file is geeting uploaded but the text fields from the HTML end are missing. If the files size is reduced, then everything is going smooth. Where am I going wrong? Can someone help me. var f= req.file('ifile') f.upload({dirname:'../../assets/images/logs'}, function whenDone(err, files) {