From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 00:53:10 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F89116A4B3 for ; Thu, 2 Oct 2003 00:53:10 -0700 (PDT) Received: from buh.cameradicommercio.ro (buh.cameradicommercio.ro [81.196.25.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29F1F43FB1 for ; Thu, 2 Oct 2003 00:53:08 -0700 (PDT) (envelope-from itetcu@apropo.ro) Received: from buh.cameradicommercio.ro (localhost [127.0.0.1]) by buh.cameradicommercio.ro (Postfix) with SMTP id F2372DA; Thu, 2 Oct 2003 10:53:06 +0300 (EEST) Date: Thu, 2 Oct 2003 10:53:06 +0300 From: Ion-Mihai Tetcu To: "Michael Sharp" Message-Id: <20031002105306.37b9b1a5.itetcu@apropo.ro> In-Reply-To: <2185.192.168.1.4.1065054490.squirrel@probsd.org> References: <2185.192.168.1.4.1065054490.squirrel@probsd.org> X-Mailer: Sylpheed version 0.9.3claws (GTK+ 1.2.10; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: ftp recurvisely X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2003 07:53:10 -0000 On Wed, 1 Oct 2003 20:28:10 -0400 (EDT) "Michael Sharp" wrote: > Is there a way using the core ftp to mget all files on a site, > creating the directorys and getting the files in the recursively? > > michael > _______________________________________________ /usr/ports/ftp/lftp I use: buh> /usr/local/bin/lftp -f /root/dfscript buh> /home/itetcu# cat /root/dfscript open ftp://user:pass@domain.tld set net:limit-total-rate 50000:50000 set -a | grep net:limit-total-rate' mirror -n -vvv -a --parallel=2 /usr/ports/distfiles/ /usr/ports/ to mirror the remote distfiles dir and subdirs to the local one using 2 download in paralel and with a limit of ~50K in/out -- IOnut FreeBSD unregistered ;) user