From: Marcin Raczkowski Date: 2007-11-07T21:28:48+09:00 Subject: Re: send file from CGI Detlef Reichl wrote: > Am Montag, den 05.11.2007, 01:34 +0900 schrieb Daniel Væ—¦lkerts: >> Detlef Reichl schrieb: >> >> Hi Detlef, >>> Any suggestions? >>> >>> >> Wouldn't be easier to redirect the clients browser to the zip file? > > Hi Daniel > > the zip file is not in the web root and also should not be > why not? securing data this way is kinda stupid. >> In >> addition is "application/zip" the correct mime type? >> > afaik yes, but i also testet with other file types, with the same > result. > acording to http://www.iana.org/assignments/media-types/ it's. but some shity browsers (read IE wants file to have .zip extension even if it's something like bleh.html?file=bloh.zip)