You will need a client code to open the file, calculate this checksum and send it to your web server with the contents of your file; you cannot do this with simple javascript, since you should not have access to your user filesystem.
But just like @ Dan Herbert , commented out your question to use this client application, such as Flash, Java applet or Silverlight. I just wanted to make a more complete answer and explain why you cannot do this.
source share