Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: customizing download dialog in IE


Message #1 by frajtak@c... on Mon, 26 Nov 2001 15:13:39
Hi Karel,

In an Intranet environment, you can set a registry key called "Download 
Directory" under HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer to 
control the default download directory. 
However, you'll need very relaxed security settings for this to work 
(Trusted Zones, all scripting settings set to allow etc.). Also, the user 
is still able to choose a different location.

So far, I've only managed to set the Default Download dir. The user still 
has to press save to confirm the download location. (Actually, you should 
be happy about this behavior, as Alex pointed out).

All other actions (switch between open and save, start the download etc) 
still has to be confirmed by the user.

Another option is to use an FTP component. Still, this would only work in 
an Intranet environment where you control the security settings of the 
browser.

Let me know if you need some code samples on how to set the default 
download dir.


HtH

Imar



> How can I change behaviour of download dialog in IE 6.0 (or 5.x) - e.g. 
> determine the target location of the file, to save (or open) without 
> choosing the radiobutton?
> thanx 
>    Karel Frajtak
> 
> P.S.: Where can I find and download IE SDK?

  Return to Index