commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <>
Subject Re: [fileupload] how does it handle anti-virus?
Date Wed, 28 Jan 2004 03:49:41 GMT
Quoting "CHOY, ALAN" <>:

> I'm wondering how FileUpload handles file which is infected with virus.
> I've tried Struts 1.0.2, which used its own library, and when a virus
> infected file is uploaded, it triggered the anti-virus software on the
> server immediately, and the FormFile that I got was null.
> However when I used Struts 1.1 (which used FileUpload by default), the
> virus infected file was able to upload to the server successfully just
> like a regular file.  Does anyone have any experience in this area?

Neither the file upload code in Struts 1.0.2, nor the code in
commons-fileupload, pays attention to the content of the uploaded file.  Any
triggering of anti-virus software on the content was being done by some other

> Alan Choy


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message