Date: Tue, 27 Feb 1996 15:30:33 -0800 (PST) From: Bryan Ogawa at Work <bogawa@netvoyage.net> To: Dale <dale2@fifth-avenue.com> Cc: questions@FreeBSD.ORG Subject: Re: Sending an exe or zip via HTML Message-ID: <Pine.BSF.3.91.960227152828.3764C-100000@digital.netvoyage.net> In-Reply-To: <Pine.BSF.3.91.950324161433.3077B-100000@fifth-avenue.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 24 Mar 1995, Dale wrote: > Hi > > Does anyone know why when I code an HTML A REF to allow a user to > download a file (like an exe or a zip) only the code shows up on the > screen rather than the usual Netscape (Save To DIsk) dialogue box? > > Does this have something to do with the file's mode or ownership? > > How do I code an HTML line to let a user download such a file? This is in your httpd's configuration. Look in your mime.types file, or by editing your srm.conf file and adding appropriate AddType entries for .zip and .exe . see http://www.apache.org/ or http://hoohoo.ncsa.uiuc.edu/ for Apache and NCSA httpds.... after doing this, then: <a href="http://www.yoursite.com/file/path/goes/here/file.zip">Download file.zip</a> will do it. bryan > > Thanks > > dale > > Bryan K. Ogawa Questions or Problems with NetVoyage? help@netvoyage.net Check out the NetVoyage HelpWeb at.. <URL: http://www.netvoyage.net/~help/>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960227152828.3764C-100000>