Well, file upload without the tools can be a headache for you. I was about to suggest the same as Alexey, try out formidable module for express: https://github.com/felixge/node-formidable Just follow the examples, read the documentation and you're on the right path to solve your problem.
2013/6/4 Alexey Petrushin <[email protected]> > You need properly set headers of file post request otherwise formidable > (module used by expressjs for parsing request) won't be able to recognize > the file. > > On Friday, May 31, 2013 4:19:49 AM UTC+4, Rich Costello wrote: >> >> I am building a node backbone application based off of this. >> https://github.com/ccoenraets/**nodecellar<https://github.com/ccoenraets/nodecellar> >> but my biggest issue is creating an image upload function from a drag and >> drop. I tried using ajax but that creates an error. Been searching the >> google machine here for an answer, tutorial or example but can't seem to >> pinpoint it. I am a new-by with Node so that's part of my issue. However, >> can anyone point me in the right direction in how to create and image >> upload function for a Node/Backbone.js application. >> >> Thanks in advance >> >> Rich >> > -- > -- > 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 > > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- William Régis Drawanz Dias Developer at dealerlogix BSc Student of Computer Science at UFPel -- -- 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 --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
