Download file under script control

S

Svend Gr?nlund

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
 
E

Evertjan.

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 ...
 
S

Svend Grønlund

The script must be registered on the client PC, so this is only relevant
on an intranet.
 
E

Evertjan.

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 ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,050
Latest member
AngelS122

Latest Threads

Top