Search squid archive

Re: Replace LF with CR/LF while transfer from ftp through squid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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?




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux