connect-stream-s3 icon indicating copy to clipboard operation
connect-stream-s3 copied to clipboard

Error: no files uploaded.

Open elkhawajah opened this issue 11 years ago • 1 comments

I am getting this error when trying to upload a file, where can I look to understand the causing issue ?

elkhawajah avatar Jun 01 '13 21:06 elkhawajah

Just to clarify, I am using the example included in this module, I am on Mac and I tested upload function in both Chrome and FireFox browsers, both are giving me the same "Error: no files uploaded".

I checked connect-stream-s3.js and I found that req.files.length always return undefined, when I updated it to use Object.keys(files).length it worked.

is this considered a bug ? or there is some setup/configuration missing in my environment ?

elkhawajah avatar Jun 01 '13 22:06 elkhawajah