Sorry, my bad. The .end() was missing from my test script where I tested 
this out and in the original code where the problem occured, I had used 
"end" instead of "close" for listening.

Sadly piping was not an option - I wanted to stream attachment files 
received by e-mail to S3 but the length of the files were not known when 
reading from the e-mail parse stream and as S3 API works over HTTP, the 
actual file size was needed for content-length.

On Sunday, September 23, 2012 8:04:16 PM UTC+3, mscdex wrote:
>
> fs.WriteStreams emit a 'close' event when the underlying file 
> descriptor is closed. Are you sure .end() is being called on the 
> stream? 
>

-- 
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

Reply via email to