469,923 Members | 1,497 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

Download file under script control

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
3 1511
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
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
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.

Similar topics

2 posts views Thread by Pedro Fonseca | last post: by
4 posts views Thread by Kevin Muenzler, WB5RUE | last post: by
6 posts views Thread by aljosa.mohorovic | last post: by
1 post views Thread by Joey Nolan | last post: by
2 posts views Thread by Raffi | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.