Express.js throws Error: ENOENT on linux server

view full story

http://stackoverflow.com – So, I have been working on an upload script (code is below) that I have working on my windows machine, but on my Linux server it seems to fail with Error: ENOENT, open 'uploads/da5ab67b48ea2deecd25127186017083' I understand that the error is saying there is no path/file, but I do check to for file existence before I attempt the file rename. exports.product_files_upload = function (req, res) { if (req.files) { var tmpArray = []; for(var file in req.files){ console.log(file) if (file){ var splitName = file.split('-'); (HowTos)