I need to rename file on client side as per client requirement. I understand FF,Chrome doesn’t provide File Path and IE provides with File path option enabled on that region.
With all these setting I am getting filepath From uploadedFile.PostedFile.FileName;
Now When I call File.Move(stroldfilename, strNewfilename) , it is looking for that file on server machine and not client machine.
Please advice .
For example File path is C:\Test.dat .
You cannot move a client-side file from the server. The move would have to occur on the client itself. You should be able to Google “JavaScript File Move” for examples of doing so on the client through JavaScript. Here is one example:
http://www.roseindia.net/javascript/javascriptexamples/javascript-move-file.shtml