Friday, May 1, 2009

Fileupload with virus scan in asp.net

In this article we are going to see how u can upload the file with virus scan..

Let us go through this step by step

Step1: create a new asp.net website..

Step2: open Default.aspx page.. In that drag and drop the FileUpload control,button and a label..



Step3: Add the Reference to your website naming log4net.dll and WRAVLib.dll.. you can download these from
http://www.wolfereiter.com/Downloads/wravlib/wravlib-1.1-strong-bin.zip..

Step4: Double click the Upload button and write in the code behind as follows


Step5: Run the application..

I hope you people like this application...

1 comment: