Hi Atli,
Manually do means..
First i upload a file...
Now input box have <input type="file" name="uploadto" value="c:/sample.gif">
Then am going to change the value gif as jpg <input type="file" name="uploadto" value="c:/sample.jp..."
How do you upload that first file?
Setting the "value" attribute on a <input type="file"> element should have no effect. It will simply be ignored. You will actually have to hit the "browse" button and manually select a file before submitting the form.
After change am going to upload..so am have error... In that case i want to check the file extension or file validation....
What error are you getting?
Can we see the code you are using?
It's very hard to understand the problem without the code, especially with such a limited description of what it is you are doing.