> On Tue, 06 Oct 1998 16:18:57 +0200, Raffaele Mattei
> >I have download the MP3 files but the files are corrupted !
> >WHY ?
> Are you using Netscape? I've had numerous problems downloading
> 'unknown' files (TAPs, for example) with Netscape.
> If anybody knows of a fix, then let me know. I'd upload it to NVG,
> but the update problems (I presume these are still going on?) make
> that a bit pointless. It seems a bit irrelevant for WOS.
He probably is using Netscape, but it's not really Netscape's problem as
such. Almost certainly the server does not have a MIME type set for .mp3
files (or .tap!) and so it's sending the default MIME type - on most
servers this is "text/plain". As it's been said by the server that this
is text, Netscape performs Unix to DOS conversion on the file (basically
mucks with the line feeds and carriage returns a bit) so that it can be
displayed correctly. Binary files tend to be mucked up by this. Internet
Explorer appears to download better, but in actual fact it's not doing
what it's supposed to - the server says it's "text/plain" so it should
be treated as if it's text.
Solution is to add a MIME type for the file on the server. If the server
is set to parse .htaccess files you can usually do this by popping a
file called ".htaccess" in the same directory as the files to be
AddType audio/mpeg mp3
or a type that's appropriate for the file.
Addons like GetRight can get round this, but it's been known to cause
other problems with Netscape (see the Unofficial FAQ at
Angus G Rae Science & Engineering Support Team, Edinburgh University
ICQ: 1721903 "Thunder wishes it could be the snow", Tori Amos
The above views are mine, and Edinburgh Uni can't have any of them.