Integation with node-formidable

65 views
Skip to first unread message

bravoury

unread,
Feb 17, 2014, 2:59:37 PM2/17/14
to tot...@googlegroups.com
hi Peter Sirka! good work for your framework!
I want to get fields form a form like this:
     <form action="/upload" enctype="multipart/form-data" method="post">
      <input type="text" name="title"><br>
      <input type="file" name="upload" multiple="multiple"><br>
      <input type="submit" value="Upload">
      </form>

to save to a mongodb database. I saw a exemple with  node-formidable : https://github.com/felixge/node-formidable/blob/master/example/upload.js
but I would make it with total.js . Can you give me an exemple that integrate formidable.Thanks!

Peter Širka

unread,
Feb 17, 2014, 3:11:32 PM2/17/14
to tot...@googlegroups.com
Hello Bravoury,
many thanks :-)

Framework supports (internally) formidable parser, but for processing of uploaded files look here:


I must create an example for storing files into the MongoDB (GridFS).
Thanks.
Reply all
Reply to author
Forward
0 new messages