[nodejs] nodejs win32ole module - iterate over result

2014-08-22 Thread Thorsten Moeller
Hi, i try to use win32ole for a wmi request. I have som difficulties, because in the provided samples the resulting rows are known and so properties can be adressed directly. But, how can i iterate over a result, and print the values, when i do not know the resulting columns in advance??

[nodejs] fs.createWritestream change path dynamically

2013-03-07 Thread Thorsten Moeller
Hi, i am creating a writestream on a server connection event using a path join of a fix path and a variable for the filename. As the filename is not known on server connection event (sent later via connection data event) , it is empty and therefore not working afterwards, producing errors

[nodejs] Re: fs.createWritestream change path dynamically

2013-03-07 Thread Thorsten Moeller
stream without a file name. You could create a random file name and then rename it once you have the real file name. On Thursday, March 7, 2013 9:35:00 AM UTC-5, Thorsten Moeller wrote: Hi, i am creating a writestream on a server connection event using a path join of a fix path

Re: [nodejs] Re: fs.createWritestream change path dynamically

2013-03-07 Thread Thorsten Moeller
file name. On Thursday, March 7, 2013 9:35:00 AM UTC-5, Thorsten Moeller wrote: Hi, i am creating a writestream on a server connection event using a path join of a fix path and a variable for the filename. As the filename is not known on server connection event (sent later via connection

[nodejs] How to keep filename through net socket filetransfer?

2013-02-23 Thread Thorsten Moeller
Hi, i managed to get a filetransfer from one node server to another one working using net.Socket, ReadStream and pipe on one side and a server with writeStream on the other side. The only thing i could not figure out after googling for days and reading docs over and over is how to manage to

[nodejs] TCP client/server data transfer

2013-01-17 Thread Thorsten Moeller
Hi, i am fairly new to nodejs and programming tcp client/server communication. I managed get the simple server examples to work. What i try now is, that the server has some collected data and should send it to a client in one chunk. For example the output of os.networkInterfaces(). And how