Skip to content

Instantly share code, notes, and snippets.

Created August 28, 2012 03:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/3494793 to your computer and use it in GitHub Desktop.
Save anonymous/3494793 to your computer and use it in GitHub Desktop.
app.post('/file-upload', function(req, res, next) {
console.log(req.body);
console.log(req.files);
console.log(req.files.thumbnail.path);
path.resolve(__dirname, '../', './public/images/')
res.redirect('back');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment