[SQU] squid ftp download data type

From: Christian Recktenwald <[email protected]>
Date: Thu, 21 Dec 2000 14:46:59 +0100

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
Received on Thu Dec 21 2000 - 06:49:04 MST

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