In my development environment I have two servers. One sends and image to the other over a POST http request.
POST
Client server does this:
I tried the solution above, and if you've just moving uploaded files or something the following works much better:
fs.rename(path, newPath, callback(err) {});
I was uploading files over 200MB and would encounter errors using streams, sync or async.