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

From: Eliezer Croitoru <eliezer_at_ngtech.co.il>
Date: Tue, 06 Aug 2013 17:44:06 +0300

On 08/06/2013 05:15 PM, Alexey Roslyakov wrote:
> Thanks, it work properly. It is possible to switch binary mode on by
> default?
Maybe using a url_rwrite helper that will redirect traffic from a
regular download to a binary mode But it's a bit weird to do that.
Just use ftp command for a single file.
also this is not really a issue since it's just a cr/lf that you can
simply replace using sed or something else.

Critical applications will make sure that the file will be verified with
a hash or another way of making sure that the file will be the original one.
if you have bunch of files that you want to download just ask the
publisher to put a hash list of the files on the server or another
server to allow you that.

Metalink use this concept to verify that the file you have downloaded is
the original one and was not being changed by 3rd party.

Eliezer
Received on Tue Aug 06 2013 - 14:44:20 MDT

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