On 20 Aug 2014, at 22:35, James Peach wrote:

>> Is there a "run command on every transferred file" plugin so when a user
>> start a download it runs a command (the antivirus client) on the file and
>> then on the result decides if it pass or fails ?
> 
> Maybe https://www.ironbee.com can do this?

Indeed, ironbee meets that description pretty-much head-on :)

You would still have some work to do to attach your virus scan to ironbee.

>> If there is not, I think on a buffered null transform to write the buffer
>> on a tmp directory, then exec and depending on that produce or cancel and
>> then send a redirect.  What do you think?

I should certainly hope you could do it better and more efficiently with 
ironbee.
At least, assuming there's an API for your proposed virus scanner!

-- 
Nick Kew

Reply via email to