954,593 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Upload file without User Interaction

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?

kapil.goyal
Light Poster
47 posts since Jan 2007
Reputation Points: 10
Solved Threads: 0
 

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.

f1 fan
Posting Whiz in Training
279 posts since Jan 2006
Reputation Points: 26
Solved Threads: 11
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You