When I want to upload file from local system to server. At that time I want to set local path in input type file field but it is not set to that value. So I\'m unable to upload
I don't think you can access the file system from the browser without human intervention. One can hack your system if browsers allow this. This will be a potential flaw in the browser. However there is a way to solve your problem.
You can write a simple application to fetch file from file system. You will ask the client to install the application in the machine. Now this application will interact with the browser and fetch the file.