i am allowing clients to upload the files,My query is how to scan the file before being uploaded the file to the server
I assume you mean virus scanning?<BR><BR>Why don't you just install a virus scanner on the server, if it detects the virus I imagine it would just quarantine the file or something...
It's not actually possible to do ANYTHING with the file while it sits on the client machine. Only when it gets to the server.<BR><BR>Craig.
An obvious point, but one worth making having re-read his question.