-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
stream-utils/contentstream#6
https://github.com/paulja/memory-streams-js/issues/11
I have tried them all. they all get the same exception at server side
Error: MultipartParser.end(): stream ended unexpectedly: state = PART_DATA
Server Side
import { IncomingForm, Files } from 'formidable';
const form = new IncomingForm(); //create upload form
form.encoding = FILE_ENCODE;
form.keepExtensions = true;
form.multiples = true;
console.log(`file parse start!`);
form.parse(req, function (err, fields, files) {
// get Exception err = Error: MultipartParser.end(): stream ended unexpectedly: state = PART_DATA
});
Metadata
Metadata
Assignees
Labels
No labels