Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Oct 2003 10:53:06 +0300
From:      Ion-Mihai Tetcu <itetcu@apropo.ro>
To:        "Michael Sharp" <probsd@ec.rr.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ftp recurvisely
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 1 Oct 2003 20:28:10 -0400 (EDT)
"Michael Sharp" <probsd@ec.rr.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031002105306.37b9b1a5.itetcu>