Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

File Upload - Virus check before upload

New Here ,
Jun 23, 2009 Jun 23, 2009

Hi Friends


     We have requirement to check virus before uploading files (CFFILE) . Is there any solution around it? Your help really apprciated.



thanks

2.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Jun 23, 2009 Jun 23, 2009
I have no idea how you will fill the requirement to virus scan files before upload.  As before the file is uploaded it is still on the client computer thus the virus scan would have to be run on the client which would mean you would have to install what ever tool you requre on each and every client system that will connect to your web application.

After it has been uploaded to the server is a different matter.  I'm sure there are many enterprise or server based virus scan tools that can easily be used to scan files that are put into specific directories and|or be run from commmand line interfaces, either of which can be easily integrated into a ColdFusion applicaiton.


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 23, 2009 Jun 23, 2009

Thanks for your response.

Your correct. What I mean that after upload I need to do virus check.

Currently I'm uploading file in to the root directory, after that I need to do virus check, if i found virus then need to delete the file.

Can you please suggest me?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Jun 24, 2009 Jun 24, 2009
LATEST

Nothing in detail.

Take a look at your prefered virus scanning tool.

FInd out how that tool allows you to progamically scan files.  Often they can be configured to scan any file that is saved to specific directories and|or be run by command line code.

Use ColdFusion to either put the file in the specified directory for scanning OR the <cfexecute...> tag to run command line codes.

Realize there is usually a big difference between virus scan tools desigend to be used by home and office users on their desk top systems and virus scan tools designed to be used on a sever such as you want to here.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources