Re: [squid-users] Replace LF with CR/LF while transfer from ftp through squid

From: Alexey Roslyakov <squid_at_oneex.me>
Date: Tue, 06 Aug 2013 20:15:43 +0600

06.08.2013 20:03, Antony Stone пишет:
> On Tuesday 06 August 2013 at 15:55:09, Alexey Roslyakov wrote:
>
>> My wget with proxy:
>> # squid3 -v
>> Squid Cache: Version 3.3.8
>> # wget ftp://gee.cs.oswego.edu/pub/misc/malloc-2.8.4.c
>> --2013-08-06 19:48:46-- ftp://gee.cs.oswego.edu/pub/misc/malloc-2.8.4.c
>> Подключение к 192.168.0.148:3128... соединение установлено.
>> Proxy-запрос отправлен. Ожидание ответа... 200 Gatewaying
>> Длина: нет данных [text/plain]
>
> That bit looks bad to me - it's treating it as "text/plain" which means it'll
> be doing an Ascii mode transfer, not a Binary mode transfer.
>
> Try: wget 'ftp://gee.cs.oswego.edu/pub/misc/malloc-2.8.4.h;type=i'
>
> and see what you get.
>
>
> Antony.
>

Thanks, it work properly. It is possible to switch binary mode on by
default?
Received on Tue Aug 06 2013 - 14:15:46 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 06 2013 - 12:00:15 MDT