RE: [Zope] tar.gz changing to tar.tar during download.
But this is only on Zope. IE seems to download tar.gz files correctly on Apache. -----Original Message----- From: Louis MacCubbin Sent: Tuesday, November 25, 2003 12:32 PM To: 'Stefan H. Holek' Cc: 'zope@zope.org' Subject: RE: [Zope] tar.gz changing to tar.tar during download. The problem looks to be IE. I tried it with Mozilla and it work correctly. It looks like "application/x-tar". Thanks -----Original Message----- From: Stefan H. Holek [mailto:stefan@epy.co.at] Sent: Tuesday, November 25, 2003 1:28 AM To: Louis MacCubbin Cc: 'zope@zope.org' Subject: Re: [Zope] tar.gz changing to tar.tar during download. What is the content type of your .tar.gz File object? Should be something like "application/x-gzip" or "application/x-gzip-compressed". Which browser? IE has a tradition of deliberately screwing up the download filenames. Stefan --On Montag, 24. November 2003 11:49 -0800 Louis MacCubbin <Louis.MacCubbin@veritas.com> wrote:
Hello,
When ever I try to download a tar.gz file from my Zope site, the extention changes to tar.tar. Why is this happening? Does anyone know how I can I fix it?
The workaround for this is to rename the file back to xxx.tar.gz after it downloads.
-- The time has come to start talking about whether the emperor is as well dressed as we are supposed to think he is. /Pete McBreen/ _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
On Tue, 25 Nov 2003 13:06:03 -0800, Louis MacCubbin wrote:
But this is only on Zope. IE seems to download tar.gz files correctly on Apache.
Yeah. What MIME type does Apache report to IE? How much do you want to bet that it reports application/x-gzip instead of application/x-tar? I'd also bet that when IE sees the MIME type in the HTTP headers, it then slaps the extension it (Windows) wants on the end if it isn't already there. However, Mozilla behaves and leaves the name as it was, regardless of the MIME type. Just goes to show -- two wrongs don't really make a right :-). -D -- Emacs is a nice operating system, it lacks a decent editor though www: http://dman13.dyndns.org/~dman/ jabber: dman@dman13.dyndns.org
participants (2)
-
Derrick 'dman' Hudson -
Louis MacCubbin