Date: Fri, 22 Oct 1999 14:35:54 +0900 From: ikuo@intec.co.jp To: puga@mauibuilt.com Cc: ikuo@intec.co.jp, freebsd-hackers@freebsd.org Subject: Re: ftpmirror proxy Message-ID: <19991022143554H.ikuo@toyama.net> In-Reply-To: <38089B83.EDB75A76@mauibuilt.com> References: <38089B83.EDB75A76@mauibuilt.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, You can use ftpmirror-1.9x to transfer FTP archives via squid proxy, with `http-proxy' configuration: http-proxy = squid.server.name:3128 But, please remind that there are some truoble. The most serious problem is that squid proxy replaces `\n' to `\r\n' when it transfers text files. This cause a problem when we are getting files such as `*.cc' or `*.txt'. I mean, we can get bin.aa, bin.ab, bin.ac, ... normally, but we can't get correct `bin.cc' file. -ikuo From: Richard Puga <puga@mauibuilt.com> Subject: ftpmirror proxy Date: Sat, 16 Oct 1999 05:36:36 -1000 > I realy like ftpmirror it is a great program. > > I was wondering if ftpmirror can use a squid proxy server which runs on > port 3128? > Is there a way to use ftp-gateway on a specific port? > > below is a sampe of the configurations I have tried. > > Thank you for your time > > Richard Puga > puga@mauibuilt.com > > ftp-user = anonymous > ftp-pass = puga@mauibuilt.com > ftp-stats = yes > temp-directory = /usr/tmp > > package = FreeBSD > ftp-server = ftp.freebsd.org > # ftp-gateway = ftp.squid.proxy.server 3128 > ftp-gateway = ftp.squid.proxy.server :3128 > remote-directory = /pub/FreeBSD > local-directory = /usr/var/ftp/pub/FreeBSD > transfer-file-regexp += !/\/core$/ > transfer-file-regexp += !/\.core$/ > transfer-file-regexp += !/\/\ko-/ > transfer-file-regexp += !/\/\ja-/ > transfer-file-regexp += !/\/\zh-/ > transfer-directory-regexp += !/\/CERT\/$/ > transfer-directory-regexp += !/\/releases\/alpha\/$/ > transfer-directory-regexp += !/\/development\/$/ > transfer-directory-regexp += !/\/doc\/mailing\-lists\/$/ > transfer-directory-regexp += !/\/ports\/alpha\/$/ > transfer-directory-regexp += > !/\/ports\/i386\/packages\-3\.0\-aout\/$/ > transfer-directory-regexp += > !/\/branches\/\-current\/XF86333\/$/ > transfer-directory-regexp += > !/\/branches\/\-current\/packages\-aout\/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991022143554H.ikuo>