File Download and page redirection from one click

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • James T Kirk

    File Download and page redirection from one click

    How can I create a link to a zip/exe file, that will start a download and
    then redirect to another page.

    The files being downloaded will be different, but the page to be directed
    to will stay the same.

    I want the redirect to happen as soon as the download begins...

    How can I do this ?

    Thanks


  • Klaus Johannes Rusch

    #2
    Re: File Download and page redirection from one click

    James T Kirk wrote:
    [color=blue]
    > How can I create a link to a zip/exe file, that will start a download and
    > then redirect to another page.
    >
    > The files being downloaded will be different, but the page to be directed
    > to will stay the same.
    >
    > I want the redirect to happen as soon as the download begins...[/color]

    thefirstpage.ht ml:
    <a href="thatother page.html">Down load that other page</a>

    thatotherpage.h tml:
    <meta http-equiv="Refresh" content="1; url=download.ex e" />


    --
    Klaus Johannes Rusch
    KlausRusch@atme dia.net



    Comment

    • James T Kirk

      #3
      Re: File Download and page redirection from one click

      Is it possible to do it as a HREF... ?

      <a onclick="parent .location='newp age.html'" href="file.zip" >Download</a>

      That way each download is a separate link, redirecting to the same
      newpage.html ??

      Thanks

      On Thu, 21 Aug 2003 12:10:23 +0000, Klaus Johannes Rusch
      <KlausRusch@atm edia.net> wrote:
      [color=blue]
      >James T Kirk wrote:
      >[color=green]
      >> How can I create a link to a zip/exe file, that will start a download and
      >> then redirect to another page.
      >>
      >> The files being downloaded will be different, but the page to be directed
      >> to will stay the same.
      >>
      >> I want the redirect to happen as soon as the download begins...[/color]
      >
      >thefirstpage.h tml:
      ><a href="thatother page.html">Down load that other page</a>
      >
      >thatotherpage. html:
      ><meta http-equiv="Refresh" content="1; url=download.ex e" />[/color]

      Comment

      Working...