From owner-freebsd-hackers Thu Oct 21 22:38: 1 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from sh.toyama.net (sh.toyama.net [210.225.117.7]) by hub.freebsd.org (Postfix) with ESMTP id 59AA214D11 for ; Thu, 21 Oct 1999 22:37:53 -0700 (PDT) (envelope-from ikuo@toyama.net) Received: from localhost (ppp17.noc.intec.co.jp [210.225.117.17]) by sh.toyama.net (8.9.3/3.7Wpl2-1999080421) with ESMTP id OAA98012; Fri, 22 Oct 1999 14:36:42 +0900 (JST) To: puga@mauibuilt.com Cc: ikuo@intec.co.jp, freebsd-hackers@freebsd.org Subject: Re: ftpmirror proxy From: ikuo@intec.co.jp In-Reply-To: <38089B83.EDB75A76@mauibuilt.com> References: <38089B83.EDB75A76@mauibuilt.com> X-Mailer: Mew version 1.94b55 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <19991022143554H.ikuo@toyama.net> Date: Fri, 22 Oct 1999 14:35:54 +0900 X-Dispatcher: imput version 990826(IM126) Lines: 66 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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