Quote Originally Posted by Nitya_V
Thanks Chinchito.
the problem is that i need to download the file from the server into the local system into a particular folder and these folders path have to be given during runtime. can this be done?
You should not be doing this unless you absolutely have to. In 99% of cases you don't have to and one of the following will suffice:
  1. Scrap the idea and code it without the use of this file.
  2. Create an installation package or a zip file and have the user download and install it.


Which ever way you choose, you need to be asking the users permission. I would not recommend Active X because their are browser dependant and have a history of security issues and so people are naturally dubious about them. You also have Java as an option too which runs in most browsers. And, if you really want to use Active X or Java and still need to save a file on the user file system, then you need to get the applet/control digitally signed by a third party such as verisign otherwise it will be blocked by 80% of your audience.