ftp recurvisely

Ion-Mihai Tetcu itetcu at apropo.ro
Thu Oct 2 00:53:10 PDT 2003


On Wed, 1 Oct 2003 20:28:10 -0400 (EDT)
"Michael Sharp" <probsd at 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


More information about the freebsd-questions mailing list