469,306 Members | 1,896 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,306 developers. It's quick & easy.

How to set users download directory?

Hello there,

I'd like to set the users default download folder on their PC to a certain
location (if it exists). The users will be downloading documents and we want
to try to minimise the chances of them being littered all over their PCs.

Any suggestions? I don't want to create directories on their PCs just make
them the default directory when the download dialogue appears.

Regards,

Lachlan


Jul 20 '05 #1
3 2970
"Lachlan Gemmell" <lg************@wiPLEASEms.com.au> writes:
I'd like to set the users default download folder on their PC to a certain
location (if it exists). The users will be downloading documents and we want
to try to minimise the chances of them being littered all over their PCs.

Any suggestions?
None, except to give up.
I don't want to create directories on their PCs just make
them the default directory when the download dialogue appears.


That could, almost, be harmless. But then again, clicking on a
linke to download a file called "start.exe" and not noticing that
the download directory is not the usual one, but instead C:\windows\
could be ... interesting.

Don't mess with people's defaults. It's their defaults, not yours.

Would you be able to set the old default directory back afterwards?
Would you then know the directory name? Could you send it to your
server?

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 20 '05 #2
The users are intranet users and it's in their interests for these documents
from our intranet site to go to a standard location on their hard drive.
That's the reasoning behind it, in case you're holding out on a technique to
do this.

Regards,

Lachlan
Jul 20 '05 #3
Lachlan Gemmell wrote:
The users are intranet users and it's in their interests for these documents
from our intranet site to go to a standard location on their hard drive.
That's the reasoning behind it, in case you're holding out on a technique to
do this.


You might try looking into an ActiveX object. Javascript has no resource
(other than the ability to script an ActiveX) to change the download
destination.

--
Randy
Chance Favors The Prepared Mind

Jul 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Rod | last post: by
3 posts views Thread by Skwish | last post: by
10 posts views Thread by Don Munroe | last post: by
8 posts views Thread by kieran | last post: by
reply views Thread by harlem98 | last post: by
1 post views Thread by Geralt96 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.