Seriously what you want is 12 lines with fs.watchFile(), just try it you
will be shocked by how easy it is to get this running.

On Thu, Feb 2, 2012 at 10:31 PM, Mi Jun <[email protected]> wrote:

> I am using formidable to upload files, so I can access to
> file.bytesReceived and file.bytesExpected.
>
> I think tail is not a good solution. Since I have to pipe the readStream
> to response, I have to end the response when the file is completely
> uploaded, rather than continuously reading.
>
> node-growing-file only support end by timeout. If it support end
> by bytesExpected, this will be great. I will see if I can submit a patch.
>
> --
> 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

Reply via email to