Download file under script control

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Svend Gr?nlund

    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
  • Evertjan.

    #2
    Re: Download file under script control

    Svend Gr?nlund wrote on 06 feb 2004 in comp.lang.javas cript:
    [color=blue]
    > 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.
    >[/color]

    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)

    Comment

    • Svend Grønlund

      #3
      Re: Download file under script control

      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!

      Comment

      • Evertjan.

        #4
        Re: Download file under script control

        Svend Grønlund wrote on 06 feb 2004 in comp.lang.javas cript:[color=blue]
        > The script must be registered on the client PC, so this is only relevant
        > on an intranet.
        >[/color]

        Use a .hta ?

        --
        Evertjan.
        The Netherlands.
        (Please change the x'es to dots in my emailaddress)

        Comment

        Working...