Archived from the Transloadit support forum. Originally posted on January 8, 2012; details may be outdated, see our docs for current behavior. Original thread
I am trying to figure out a way to handle a file upload from a client to my server and then pass that file to transloadit. This way my server will handle putting the right template together (or referencing a template I already have on transloadit). I am using nodejs and I am currently using node-transloadit. What I cannot figure out is if there is a way to stream the file from my client through my server to transloadit. I was thinking there was some way to do this maybe with the node-transloadit module and the addStream(…) call. I am using node-express so I am sitting in the route handler and I have the req,res parameters but I am not having any luck figuring out how to get things working with node-transloadit.
In the mean time for testing I am simply using the /http/import robot to pull a image file from S3 while I try to find a way to stream a file from a client through my server to transloadit without storing the file on my server first.