Does the server have a virus scanner installed? (It should!) Just save it to disk first. This will activate the virus scanner when it writes. If you have any errors while attempting to read the file, you know that there was a virus and the scanner removed the file.
...Glenn On Fri, Sep 26, 2008 at 2:48 AM, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: > > We are building a web application using Asp.Net which uploads the > files and stores it into the database. Now the requirement is to scan > the uploaded files for virus before saving it to the database. The > scanning has to happen on the server side and not on the client > machine. > > Any pointers or heads up in this regards would be of great help. > > Regards, > - Prashanth M S > http://techwalk.winprash.com > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" 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://cm.megasolutions.net/forums/default.aspx -~----------~----~----~----~------~----~------~--~---
