Re: Downloads

by "Nik Krimm" <nik(at)krimm.net>

 Date:  Fri, 2 Mar 2001 11:35:20 -0600
 To:  "Two Bits" <leo7278(at)hotmail.com>,
<gbt(at)dial.pipex.com>
 Cc:  <hwg-languages(at)hwg.org>
 References:  hotmail
  todo: View Thread, Original
Yeah, I'd like to know if anyone out there knows how to force the browser to
download the file,
instead of allowing the browser to choose what to do (specifically, I don't
want the file ever to open up
in a browser window)?

----- Original Message -----
From: Two Bits <leo7278(at)hotmail.com>
To: <gbt(at)dial.pipex.com>
Cc: <hwg-languages(at)hwg.org>
Sent: Friday, March 02, 2001 10:02 AM
Subject: Re: Downloads


> Hey, im not laughing... much. ok not entirely at all. in my experience,
you
> can just link to the file as if it were a page. the client's browser
should
> (based on extension) determine which action to take. for example they may
be
> prompted to download it (save as), cache and open it, or even display in
the
> browser if the appropriate plugin is loaded. if you're transferring the
file
> data from a server side script, you can set the content type to either the
> appropriate type, or for example "application/unknown" which usually gives
> them the save as dialog. im not entirely sure how to go about all that,
> especially with suggested save as filenames and the like, but im sure
> someone else here might be able to shed a lot more light on the matter.
over
> all i'd say just link to the file itself and let their browser do whatever
> they want to do with it. - Two-Bits
>
> >
> >ok, massively stupid question, but I have never had to do it before...
> >How do I write a download link? I want users to be able to download zip
> >files and word docs from my site.
> >
> >And stop laughing Two Bits!! :op
> >
> >Gail Tyrrell
> >(nuclear vapid)
> >
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA