Re: deleting an uploaded file after a positive virus check

2008-06-10 Thread tejas
Thanks for replying Karen That's quite nice, in that I don't need to worry about deleting any infected files,and uploaded files are quite small. cheers Tejas On Jun 8, 12:55 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Sat, Jun 7, 2008 at 4:35 PM, tejas <[EMAIL PROTECTED]> wrote: > > Hi A

Re: deleting an uploaded file after a positive virus check

2008-06-07 Thread Karen Tracey
On Sat, Jun 7, 2008 at 4:35 PM, tejas <[EMAIL PROTECTED]> wrote: > Hi All > > I've been using django's newforms library to handle file uploads. To > do this safely I also use pyclamd to virus check the content of the > files (using the values['file'] dict which has been validated with > newforms).

deleting an uploaded file after a positive virus check

2008-06-07 Thread tejas
Hi All I've been using django's newforms library to handle file uploads. To do this safely I also use pyclamd to virus check the content of the files (using the values['file'] dict which has been validated with newforms). If there's a virus found I want to delete the file from the server immediat