Connect the stream directly to a file. Check out "request" module by Mikeal.
On Tue, Feb 28, 2012 at 12:48 PM, Thijs Koerselman < [email protected]> wrote: > > >> I am working on a system where some components can optionally run on >> remote systems. These components produce files which all need to end up >> back on the same central system. I am thinking about running a node upload >> server on the main computer so that the others can upload their results >> from the remote locations. >> >> Potentially there will be firewalls between the central computer and the >> remote servers. Also the files will be mostly small but I can't rule out >> that there will be big files to deal with in the future. >> >> What other options are there? Can libraries like dnode be used to >> transfer large amounts of binary data? >> >> Any suggestions are welcome. >> > > After some more research I now think a good approach is to use the native > net module for this with TCP streaming, or maybe websockets. I couldn't > find any examples on how to transfer a file like this. Are they around > somewhere? > > Thijs > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
