You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var form = new formidable.IncomingForm();
form.multiples = true;
I expect this >> files.upload << in form.parse to work, and it does, when I try to upload more than one file at a time. Unfortunatly it does not work, if I have chosen only one file.
Could someone help me with this?
I work around this by checking if this is an array, if not, copy one file, else if an array, use loop to do that.
Thank you very much in advance.
Have a good day all.
The text was updated successfully, but these errors were encountered:
Actually yea, I think you are correct. And as already seen issue #400 , it is uncomfortable to have different type. It would be better to be always an array even if only one file is uploaded.
Hello. I am a beginner. Please be polite ;-)
var form = new formidable.IncomingForm();
form.multiples = true;
I expect this >> files.upload << in form.parse to work, and it does, when I try to upload more than one file at a time. Unfortunatly it does not work, if I have chosen only one file.
Could someone help me with this?
I work around this by checking if this is an array, if not, copy one file, else if an array, use loop to do that.
Thank you very much in advance.
Have a good day all.
The text was updated successfully, but these errors were encountered: