Click here to Skip to main content
15,881,172 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
scanning each file in the folder is generally used by anti-virus software. I want to do something similar, for which i need to scan each file in the system against some say string, to check if that file contains that string or some particular code.

What approach should i use for this. Should i take each file and then convert them into something then scan them or is it something else. Thanks in advance
Posted
Comments
CHill60 30-Jan-15 5:37am    
What have you tried and where are you stuck?
You've tagged ASP so do you mean on the client PC file system or the server?
RajneeshSaysHello 30-Jan-15 6:08am    
https://www.youtube.com/watch?v=jjN2VNY5w8g

so far i have used this, it only shows the content that is normally seen by a user when using that file, for eg a notepad text content etc. i want to scan the file in the same manner as done by many anti-virus software. i have yet to try another solution, basically i just want to ask for the right direction in which where should i start with, server side is preferred over client side, but if the client side solution exists i would use that too. i have tried google but no solution so far.
CHill60 30-Jan-15 6:15am    
@_Asif_ has posted a solution ... I know it's to a similar question but there are lots of links in the solutions there to try out

1 solution

 
Share this answer
 
Comments
RajneeshSaysHello 2-Feb-15 23:48pm    
thanks for the link, i have already checked out the link, but no solution is there because all assume demo data(like in the youtube link i have poseted) not actual file searching.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900