By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,460 Members | 1,167 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,460 IT Pros & Developers. It's quick & easy.

Download file under script control

P: n/a
How, if possible, do you automatically download a file from the web
either to the client or to your server (iis)?

In IE you can register the URL of a script on your server to a right
click menuitem when pointing to a hyperlink. The script can get access
to the URL of the hyperlink. I wish to have this script to download
the file corresponding to the URL without user interaction on this
stage.

Kind regards
Svend Grønlund
Jul 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Svend Gr?nlund wrote on 06 feb 2004 in comp.lang.javascript:
In IE you can register the URL of a script on your server to a right
click menuitem when pointing to a hyperlink. The script can get access
to the URL of the hyperlink. I wish to have this script to download
the file corresponding to the URL without user interaction on this
stage.


NEVER.

This would give you access to the client's computer without their consent.

That YOU would be the gardian of their interest is ...

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 20 '05 #2

P: n/a
The script must be registered on the client PC, so this is only relevant
on an intranet.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 20 '05 #3

P: n/a
Svend Grønlund wrote on 06 feb 2004 in comp.lang.javascript:
The script must be registered on the client PC, so this is only relevant
on an intranet.


Use a .hta ?

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.