Re: [SQU] squid ftp download data type

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 21 Dec 2000 15:29:05 +0100

You might need to purge the object from Squid's cache after changing
mime.conf. Or simpler: Open it in a browser and press "Shift+Reload".

--
Henrik Nordstrom
Squid hacker
Christian Recktenwald wrote:
> 
> I have to download a file named "README.TX_" from some FTP server via
> squid 2.2.4. This file gets corrupted. Using tcpdump I found
> theat squid uses "TYPE A" for the FTP transfer, instead of
> "TYPE I" which is used for other files.
> 
> Fiddling around in /etc/mime.conf didn't help:
> mime.conf
> 104a105
> > \.TX_$                application/octet-stream        anthony-compressed.gif          -               image
> 129c130
> < README                text/plain                      anthony-text.gif        -       ascii   +download
> ---
> > # README              text/plain                      anthony-text.gif        -       ascii   +download
> 
> As the URL can't be modfied (hardcoded to binary)
> appending ";TYPE=I" can't be used.
> 
> Is there a way to tell squid to use "TYPE I" for files with ".TX_"
> extension?
> 
> TIA, Chris
> 
> --
> Christian Recktenwald      :                         :
> citecs GmbH                : chris at citecs dot de  :
> Unternehmensberatung fuer  : voice +49 711 601 2090  : Burgstallstrasse 54
> EDV und Telekommunikation  : fax   +49 711 601 2092  : D-70199 Stuttgart
> 
> --
> To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Thu Dec 21 2000 - 07:31:26 MST

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