can anybody tell me how i can upload a file without user interaction.the file full path is known and can be hardcoded.there will be a button on page when user press it the file should be uploaded.

Active-x i sone solution but for that the user have to low down his/her security settings which is not possible in this case.

any solution?

that is extremely dangerous for a number of reasons. Firstly does the end user know you are taking their files? What is to stop you taking other files such as their password etc.
Secondly how do you know they arent malicious and put a virus or something in its place and infect your server?
The file upload is the best way so at least the user knows what is going on.
If you need a file sent (such as a log file etc) then usually the best way is to attach it to an email and send it to support that way.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.