From owner-freebsd-questions Tue Feb 27 13:08:58 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA03776 for questions-outgoing; Tue, 27 Feb 1996 13:08:58 -0800 (PST) Received: from mailhub.aros.net ([205.164.111.17]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id NAA03767 for ; Tue, 27 Feb 1996 13:08:55 -0800 (PST) Received: from terra.aros.net (terra.aros.net [205.164.111.10]) by mailhub.aros.net (8.6.12/Unknown) with ESMTP id OAA02623; Tue, 27 Feb 1996 14:09:41 -0700 Received: (from angio@localhost) by terra.aros.net (8.6.12/8.6.12) id OAA26250; Tue, 27 Feb 1996 14:08:37 -0700 From: Dave Andersen Message-Id: <199602272108.OAA26250@terra.aros.net> Subject: Re: Sending an exe or zip via HTML To: dale2@fifth-avenue.com (Dale) Date: Tue, 27 Feb 1996 14:08:36 -0700 (MST) Cc: questions@freebsd.org In-Reply-To: from "Dale" at Mar 24, 95 04:15:53 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-questions@freebsd.org Precedence: bulk Lo and behold, Dale once said: > 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? It's a server configuration error. The server needs to have a mime type for .zip or .exe that tells it it's not a text file. Typically it would go in mime-types or as an AddType (with Apache) in srm.conf. .zip files should be application/zip and .exe .. er, there's a good question for you. :) -Dave Andersen -- angio@aros.net Complete virtual hosting and business-oriented system administration Internet services. (WWW, FTP, email) http://www.aros.net/ http://www.aros.net/about/virtual/ "There are only two industries that refer to thier customers as 'users'."