Re: FTP ASCII/BINARY problem

From: Mogens Kjaer <mk@dont-contact.us>
Date: Fri, 26 Feb 1999 21:55:45 +0100 (MET)

>
> >
> > If I download a binary file by ftp in netscape 4.5 under win95,
> > the file is loaded as ASCII (which is useless) when reading through
> > squid,
> > and BINARY (which is what I want) with direct internet connection.
> >
>
> They probably have different media type maps. You need to tell the
> squid server about the media type for the file extension in question
> by adding it to the mime.conf file. NB. You should be able to tell
> if squid is going to do it wrong by looking at the icon.

I don't understand this; why is it different from the user's point
of view whether or not his request from netscape goes through squid?

>
> Alternatively, use an RFC 1738 type code (";type=i" in this case, I
> think).

I can't. I have no control over the site from which the download
takes place.

Mogens

-- 
Mogens Kjaer
Carlsberg Laboratory, Dept. of Chemistry
Gamle Carlsberg Vej 10
DK-2500 Valby
Denmark
Phone:	+45 33 27 53 25
Fax:	+45 33 27 47 08
Email:	mk@crc.dk
Received on Fri Feb 26 1999 - 13:39:18 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:44:46 MST