You will need to change the file name once the file has been uploaded onto the server as the "sandbox" security model prevents you from doing much on the client side.
If you really wanted to achieve this at the client side, you would have to research signed
applets and JavaScript whereby you give the client code greater privileges for doing that sort of thing.
(Best to stick with renaming the file at the server side).
James.