Form upload in Node.js + Express (via multiparty)
the problem is solved after using:
var target_path = './uploads/fullsize/' + fileName;
instead of
var target_path = __dirname + '/uploads/fullsize/' + fileName;
the problem is solved after using:
var target_path = './uploads/fullsize/' + fileName;
instead of
var target_path = __dirname + '/uploads/fullsize/' + fileName;