Hi Tim, thanks for the hint. Must have overread this. Googled all the time, but didn't thought about renaming as an approach.
Will try that. Thanks Am Donnerstag, 7. März 2013 15:43:43 UTC+1 schrieb Tim Dickinson: > > I dont really understand what your trying to do. You cant create a write > 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 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 (connot >> open file). >> >> Is there a way to handle this more dynamically?? Perhaps creating the >> stream first like an global object and later set the filename and then >> using the stream via something like a method??? >> >> >> Regards >> >> Thorsten >> > -- -- 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 nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.