Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Apr 1999 12:59:07 -0500 (CDT)
From:      joe <joe@lab.cba.ualr.edu>
To:        Donald <druid@eoe-magical.org>
Cc:        Kent Stewart <kstewart@3-cities.com>, Rick Hamell <hamellr@dsinw.com>, freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: download a file not open it
Message-ID:  <Pine.BSF.4.05.9904101237430.6362-100000@team7.cba.ualr.edu>
In-Reply-To: <370F2963.B7F8FF2C@eoe-magical.org>

next in thread | previous in thread | raw e-mail | index | archive | help
You need to edit your srm.conf file and add an AddType setting, e.g.

AddType application/acrobat .pdf

What this does is associate that file with a particular application so
that it's opened with that application or is downloaded if the application
can't be launched. You can get more info at www.apache.org.



 On Sat, 10 Apr 1999, Donald wrote:

> ok another clarification....
> sorry about not being able to get this across correctly
> the downloading process takes place by a program, not a user
> if you
> 
> http://agent.microsoft.com/agent2/chars/genie/genie.acf
> 
> it will pop up the window to download a file.
> 
> if you http://www.eoe-magical.org/agent/chars/genie/Genie.acs
> 
> it will open the file
> 
> so the problem is the program is opening the file instead of just
> downloading it to the client.
> 
> I have applied for a lic to distribute the Agent files from my server
> but they get opened instead of downloaded, so the calling program
> does not get the file written to the disk on the users machine.
> 
> Kent Stewart wrote:
> 
> > Donald wrote:
> > >
> > > Let me clarifly, go to
> > > http://www.eoe-magical.org/agent/chars/genie/Genie.acs
> > > and try to download the file, it will only open it in the browser window.
> > >
> >
> > I right clicked on your link and did a save link as and it started
> > downloading a 1902K file.
> >
> > Kent
> >
> > > Rick Hamell wrote:
> > >
> > > > > I am storing some text files on my machine.
> > > > > If I access them like http://site/filename.txt
> > > > > it will open them in the window, what I want to do is
> > > > > to have the browser open the filedown window
> > > > > to just download the file, is this a browser or apache
> > > > > problem.
> > > >
> > > >         It's a user problem, you need to right click then save as on the
> > > > link. :)
> > > >
> > > >                                                         Rick
> > > >
> > > > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > > > with "unsubscribe freebsd-questions" in the body of the message
> > >
> > > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > > with "unsubscribe freebsd-questions" in the body of the message
> >
> > --
> > Kent Stewart
> > Richland, WA
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9904101237430.6362-100000>