you dont need an enctype on the input, just the form, and you can handle the uploads with formidable directly or using body parser:
app.use(express.bodyParser()) then in a route access req.files.file ps. https://groups.google.com/group/express-js :) On Sunday, 16 September 2012 08:26:18 UTC-7, Nitesh Singh wrote: > > How to upload a images using nodeJS , formidable and Express ? > > using views/jade > > block content > h1= title > form(action='/upload', method='POST', enctype='multipart/form-data') > input(type='text', name='title') > input(type='file', name='file', multiple="multiple" , > enctype='multipart/form-data') > button(type='submit') UPLOAD > > this is the view of index and i have to upload the file through using this > form . Using Express > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
